Commit eacad59e authored by Alexander Strange's avatar Alexander Strange Committed by Diego Biurrun

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
parent 7f09a560
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment