diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-10 10:30:05 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-19 08:26:30 +0100 |
commit | 445a7d48b13c8c6607b69156233fc8d5fed3b396 (patch) | |
tree | 26eabe049019664b187277a293ac26d25416391b /libavcodec/mpeg12enc.c | |
parent | 5455384219d873d0d2ddaeb7098da659f4207058 (diff) | |
download | ffmpeg-445a7d48b13c8c6607b69156233fc8d5fed3b396.tar.gz |
mpegvideo_enc: switch to encode2().
Diffstat (limited to 'libavcodec/mpeg12enc.c')
-rw-r--r-- | libavcodec/mpeg12enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index be2f1e9002..c53d99b1b5 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -954,7 +954,7 @@ AVCodec ff_mpeg1video_encoder = { .id = CODEC_ID_MPEG1VIDEO, .priv_data_size = sizeof(MpegEncContext), .init = encode_init, - .encode = ff_MPV_encode_picture, + .encode2 = ff_MPV_encode_picture, .close = ff_MPV_encode_end, .supported_framerates= avpriv_frame_rate_tab+1, .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, @@ -969,7 +969,7 @@ AVCodec ff_mpeg2video_encoder = { .id = CODEC_ID_MPEG2VIDEO, .priv_data_size = sizeof(MpegEncContext), .init = encode_init, - .encode = ff_MPV_encode_picture, + .encode2 = ff_MPV_encode_picture, .close = ff_MPV_encode_end, .supported_framerates= avpriv_frame_rate_tab+1, .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_NONE}, |