mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
Block a user