[FFmpeg-cvslog] Check for successful h263 init in msmpeg4 init
Alberto Delmas
git at videolan.org
Thu Apr 14 03:24:36 CEST 2011
ffmpeg | branch: master | Alberto Delmas <adelmas at gmail.com> | Mon Apr 12 23:16:12 2010 +0200| [d2940155106c21f04d5a609db7cf655fe1d8d8b1] | committer: Ronald S. Bultje
Check for successful h263 init in msmpeg4 init
Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d2940155106c21f04d5a609db7cf655fe1d8d8b1
---
libavcodec/msmpeg4.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 3b40c83..0dba8d9 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);
More information about the ffmpeg-cvslog
mailing list