[FFmpeg-cvslog] r14166 - trunk/libavcodec/dv.c

diego subversion
Fri Jul 11 09:48:37 CEST 2008


Author: diego
Date: Fri Jul 11 09:48:37 2008
New Revision: 14166

Log:
Move #ifdef CONFIG_DVVIDEO_ENCODER up to cover all functions used for encoding.


Modified:
   trunk/libavcodec/dv.c

Modified: trunk/libavcodec/dv.c
==============================================================================
--- trunk/libavcodec/dv.c	(original)
+++ trunk/libavcodec/dv.c	Fri Jul 11 09:48:37 2008
@@ -1137,6 +1137,7 @@ static inline int dv_write_pack(enum dv_
     return 5;
 }
 
+#ifdef CONFIG_DVVIDEO_ENCODER
 static void dv_format_frame(DVVideoContext* c, uint8_t* buf)
 {
     int chan, i, j, k;
@@ -1187,7 +1188,6 @@ static void dv_format_frame(DVVideoConte
 }
 
 
-#ifdef CONFIG_ENCODERS
 static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size,
                                 void *data)
 {




More information about the ffmpeg-cvslog mailing list