aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dxva2_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-09-03 00:02:53 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-09-28 18:25:20 +0200
commitcf41da2ad2ec89a1e1c1ef3ca4f6a5b416f4104e (patch)
treec13f10c65ae4e8e2fd801dab8f902c9a0594a9d3 /libavcodec/dxva2_internal.h
parent1e95a3e8a7250060befd9a5fba69151bb2a6690c (diff)
downloadffmpeg-cf41da2ad2ec89a1e1c1ef3ca4f6a5b416f4104e.tar.gz
avcodec/apedec: Allocate decoded_buffer after successful ff_get_buffer()
We need to reset samples in this case to avoid being stuck with incorrect samples value. Fixes: OOM Fixes: Timeout Fixes: 16627/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5638059583864832 Fixes: 17089/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5672188463546368 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dxva2_internal.h')
0 files changed, 0 insertions, 0 deletions