diff options
author | Alberto Delmas <adelmas@gmail.com> | 2010-04-13 01:16:12 +0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-04-13 03:46:44 +0400 |
commit | d2940155106c21f04d5a609db7cf655fe1d8d8b1 (patch) | |
tree | 9556a00b9bbc574cb0296f8fcb2a9a73d7147bae /libavcodec/msmpeg4.c | |
parent | 96573c0d7605672d69b42ae1dcf18764ce47c71a (diff) |
Check for successful h263 init in msmpeg4 init
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r-- | libavcodec/msmpeg4.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index 3b40c835b1..0dba8d9c35 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -1279,7 +1279,8 @@ av_cold int ff_msmpeg4_decode_init(AVCodecContext *avctx) int i; MVTable *mv; - ff_h263_decode_init(avctx); + if (ff_h263_decode_init(avctx) < 0) + return -1; common_init(s); |