summaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/pixblockdsp_init_arm.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <[email protected]>2016-11-04 19:00:01 +0100
committerAndreas Cadhalpun <[email protected]>2016-11-04 20:34:51 +0100
commit24d20496d2e6e1df6456c5231d892269dd1fcf38 (patch)
tree12173ada798c55bdb4629b2bc3e16809c6c0aef5 /libavcodec/arm/pixblockdsp_init_arm.c
parent8a4ea9644833d43fdfe8579c0cb569f8a0930206 (diff)
diracdec: clear slice_params_num_buf on allocation failure
Otherwise it can be non-zero next time decode_lowdelay is called, causing slice_params_buf not to be allocated, leading to a NULL pointer dereference. The problem was introduced in commit dcad4677d637cd2f701917e38361fa96b8c9a418. Reviewed-by: Rostislav Pehlivanov <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'libavcodec/arm/pixblockdsp_init_arm.c')
0 files changed, 0 insertions, 0 deletions