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
This commit is contained in:
Alexander Strange 2006-10-01 18:19:49 +00:00 committed by Diego Biurrun
parent 7f09a56091
commit eacad59e03
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{