aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpenc_jpeg.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-05-05 23:51:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-10 02:13:11 +0200
commit994538281645e1f12a0e238b5b7225566e51a98c (patch)
tree9a098b4a813f07056f3130cfb8aa100641dae424 /libavformat/rtpenc_jpeg.c
parentebc768cfa1c928ca38580e17bbf8f1b164731eb6 (diff)
downloadffmpeg-994538281645e1f12a0e238b5b7225566e51a98c.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 'libavformat/rtpenc_jpeg.c')
0 files changed, 0 insertions, 0 deletions