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/mjpegenc.c | |
parent | 5455384219d873d0d2ddaeb7098da659f4207058 (diff) | |
download | ffmpeg-445a7d48b13c8c6607b69156233fc8d5fed3b396.tar.gz |
mpegvideo_enc: switch to encode2().
Diffstat (limited to 'libavcodec/mjpegenc.c')
-rw-r--r-- | libavcodec/mjpegenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index ef47ceaf1d..bb036ef874 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -451,7 +451,7 @@ AVCodec ff_mjpeg_encoder = { .id = CODEC_ID_MJPEG, .priv_data_size = sizeof(MpegEncContext), .init = ff_MPV_encode_init, - .encode = ff_MPV_encode_picture, + .encode2 = ff_MPV_encode_picture, .close = ff_MPV_encode_end, .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"), |