[SCM] libav/experimental: Fix compilation with --disable-encoders. patch by Alexander Strange, astrange at ithinksw dot com
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:51:18 UTC 2013
The following commit has been merged in the experimental branch:
commit eacad59e0390f3e087ccda2582031574db3461a7
Author: Alexander Strange <astrange at ithinksw.com>
Date: Sun Oct 1 18:19:49 2006 +0000
Fix compilation with --disable-encoders.
patch by Alexander Strange, astrange at ithinksw dot com
Originally committed as revision 6410 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index c6f0399..fca331b 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -1196,7 +1196,7 @@ static void dv_format_frame(DVVideoContext* c, uint8_t* buf)
}
-
+#ifdef CONFIG_ENCODERS
static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size,
void *data)
{
@@ -1223,6 +1223,7 @@ static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size,
return s->sys->frame_size;
}
+#endif
static int dvvideo_close(AVCodecContext *c)
{
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list