changeset 7240:2552555c8a92 libavcodec

Move #ifdef CONFIG_DVVIDEO_ENCODER up to cover all functions used for encoding.
author diego
date Fri, 11 Jul 2008 07:48:37 +0000
parents 6519374c5020
children 239031d20617
files dv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dv.c	Fri Jul 11 07:45:49 2008 +0000
+++ b/dv.c	Fri Jul 11 07:48:37 2008 +0000
@@ -1137,6 +1137,7 @@
     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 @@
 }
 
 
-#ifdef CONFIG_ENCODERS
 static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size,
                                 void *data)
 {