OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote branch 'official/master'
[coroid/ffmpeg_saccubus.git]
/
libavcodec
/
svq3.c
diff --git
a/libavcodec/svq3.c
b/libavcodec/svq3.c
index
54c1231
..
82aaedc
100644
(file)
--- a/
libavcodec/svq3.c
+++ b/
libavcodec/svq3.c
@@
-927,7
+927,10
@@
static av_cold int svq3_decode_init(AVCodecContext *avctx)
h->b_stride = 4*s->mb_width;
- ff_h264_alloc_tables(h);
+ if (ff_h264_alloc_tables(h) < 0) {
+ av_log(avctx, AV_LOG_ERROR, "svq3 memory allocation failed\n");
+ return AVERROR(ENOMEM);
+ }
}
return 0;