diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-12-17 16:02:10 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-01-06 16:43:54 +0100 |
commit | 1c6183233d56fb27a4a154e7e64ecab98bd877f1 (patch) | |
tree | 9fe3d4d1dff0cbaba74af2d9503cafc7a487fbc4 /libavcodec/mpegvideo.h | |
parent | ed97963bdbf3bb17fca4f9ea0aa1a97722dec907 (diff) | |
download | ffmpeg-1c6183233d56fb27a4a154e7e64ecab98bd877f1.tar.gz |
msmpeg4: check memory allocations and propagate errors
Bug-Id: CID 1257781
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index ac077b3269..e3890381f8 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -854,7 +854,7 @@ void ff_msmpeg4_encode_mb(MpegEncContext * s, int ff_msmpeg4_decode_picture_header(MpegEncContext * s); int ff_msmpeg4_decode_ext_header(MpegEncContext * s, int buf_size); int ff_msmpeg4_decode_init(AVCodecContext *avctx); -void ff_msmpeg4_encode_init(MpegEncContext *s); +int ff_msmpeg4_encode_init(MpegEncContext *s); int ff_wmv2_decode_picture_header(MpegEncContext * s); int ff_wmv2_decode_secondary_picture_header(MpegEncContext * s); void ff_wmv2_add_mb(MpegEncContext *s, int16_t block[6][64], uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr); |