mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
7f09a56091
commit
eacad59e03
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue