aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg4videoenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-10 10:30:05 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-19 08:26:30 +0100
commit445a7d48b13c8c6607b69156233fc8d5fed3b396 (patch)
tree26eabe049019664b187277a293ac26d25416391b /libavcodec/mpeg4videoenc.c
parent5455384219d873d0d2ddaeb7098da659f4207058 (diff)
downloadffmpeg-445a7d48b13c8c6607b69156233fc8d5fed3b396.tar.gz
mpegvideo_enc: switch to encode2().
Diffstat (limited to 'libavcodec/mpeg4videoenc.c')
-rw-r--r--libavcodec/mpeg4videoenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg4videoenc.c b/libavcodec/mpeg4videoenc.c
index 633c8d24c5..d512daa1fa 100644
--- a/libavcodec/mpeg4videoenc.c
+++ b/libavcodec/mpeg4videoenc.c
@@ -1336,7 +1336,7 @@ AVCodec ff_mpeg4_encoder = {
.id = CODEC_ID_MPEG4,
.priv_data_size = sizeof(MpegEncContext),
.init = encode_init,
- .encode = ff_MPV_encode_picture,
+ .encode2 = ff_MPV_encode_picture,
.close = ff_MPV_encode_end,
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
.capabilities= CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,