summaryrefslogtreecommitdiffstats
path: root/libavcodec/libopenjpegenc.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <[email protected]>2015-05-05 23:51:48 +0200
committerMichael Niedermayer <[email protected]>2015-06-01 23:25:22 +0200
commitc646ee3da747337adfb865e703efeb6269ec541d (patch)
tree418c14b3617ce174eb5315f06ade9e5cf6bcb07a /libavcodec/libopenjpegenc.c
parent68c11b665458bf43d5f751131c43c6e402e5e02f (diff)
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 <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit d93181ef3eacdb862d93448f31c97765a523d1db) Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/libopenjpegenc.c')
0 files changed, 0 insertions, 0 deletions