diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-05-05 23:51:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-17 21:50:09 +0200 |
commit | c9c5bd8c89b6e3cc09e50c3b053cd8a083fbddc6 (patch) | |
tree | 6869f2b15250199089978852ff44055d42afe1bb /libavcodec/ppc | |
parent | b946f849bb926dcfb67ed76e0bd8fdb1b53519b2 (diff) | |
download | ffmpeg-c9c5bd8c89b6e3cc09e50c3b053cd8a083fbddc6.tar.gz |
diracdec: check if reference could not be allocated
s->ref_pics[i] is later used as ref argument of interpolate_refplane,
where it is dereferenced.
If it is NULL, it causes a segmentation fault.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit d93181ef3eacdb862d93448f31c97765a523d1db)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ppc')
0 files changed, 0 insertions, 0 deletions