[Ffmpeg-cvslog] r6410 - trunk/libavcodec/dv.c

diego subversion
Sun Oct 1 20:19:50 CEST 2006


Author: diego
Date: Sun Oct  1 20:19:49 2006
New Revision: 6410

Modified:
   trunk/libavcodec/dv.c

Log:
Fix compilation with --disable-encoders.
patch by Alexander Strange, astrange at ithinksw dot com


Modified: trunk/libavcodec/dv.c
==============================================================================
--- trunk/libavcodec/dv.c	(original)
+++ trunk/libavcodec/dv.c	Sun Oct  1 20:19:49 2006
@@ -1196,7 +1196,7 @@
 }
 
 
-
+#ifdef CONFIG_ENCODERS
 static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size,
                                 void *data)
 {
@@ -1223,6 +1223,7 @@
 
     return s->sys->frame_size;
 }
+#endif
 
 static int dvvideo_close(AVCodecContext *c)
 {




More information about the ffmpeg-cvslog mailing list