aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlberto Delmas <adelmas@gmail.com>2010-04-12 23:16:12 +0200
committerRonald S. Bultje <rsbultje@gmail.com>2011-04-12 19:46:44 -0400
commitd2940155106c21f04d5a609db7cf655fe1d8d8b1 (patch)
tree9556a00b9bbc574cb0296f8fcb2a9a73d7147bae
parent96573c0d7605672d69b42ae1dcf18764ce47c71a (diff)
downloadffmpeg-d2940155106c21f04d5a609db7cf655fe1d8d8b1.tar.gz
Check for successful h263 init in msmpeg4 init
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-rw-r--r--libavcodec/msmpeg4.c3
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);