diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-05-05 23:51:48 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-05-14 19:10:23 +0200 |
commit | c6f6be93ac281065e3c7812d5c2ad0bbc1b5f4f9 (patch) | |
tree | 67678247f7954052643c5f284356d946909e3592 /cmdutils_opencl.c | |
parent | c6418be04314b3bf9bfda8d36d639907f8c7a2ad (diff) | |
download | ffmpeg-c6f6be93ac281065e3c7812d5c2ad0bbc1b5f4f9.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: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'cmdutils_opencl.c')
0 files changed, 0 insertions, 0 deletions