From eacad59e0390f3e087ccda2582031574db3461a7 Mon Sep 17 00:00:00 2001 From: Alexander Strange Date: Sun, 1 Oct 2006 18:19:49 +0000 Subject: [PATCH] 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 --- libavcodec/dv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/dv.c b/libavcodec/dv.c index c6f039923d..fca331b492 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) {