From c83671beca1486dd29384b2c7bdcbfa8ea6545e0 Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 11 Jul 2008 07:48:37 +0000 Subject: [PATCH] Move #ifdef CONFIG_DVVIDEO_ENCODER up to cover all functions used for encoding. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14166 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavcodec/dv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dv.c b/libavcodec/dv.c index a535e189ea..8ba952ae62 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -1137,6 +1137,7 @@ static inline int dv_write_pack(enum dv_pack_type pack_id, DVVideoContext *c, ui 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(DVVideoContext* c, uint8_t* buf) } -#ifdef CONFIG_ENCODERS static int dvvideo_encode_frame(AVCodecContext *c, uint8_t *buf, int buf_size, void *data) { -- 2.11.4.GIT