diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-06-24 19:53:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-12 16:46:06 +0200 |
commit | c0b6f4b38da9523621eb1f3956fa2b0a0f64331d (patch) | |
tree | d56b4034d09c7c20cfff1c3330acb360f5098b4d /libavcodec/sinewin.c | |
parent | 2d993f5fd6626c885bb56f505f265c4d6635e952 (diff) | |
download | ffmpeg-c0b6f4b38da9523621eb1f3956fa2b0a0f64331d.tar.gz |
avformat/matroskadec: Reset state also on failure in matroska_reset_status()
The calling code does not handle failures and will fail with assertion failures later.
Seeking can always fail even when the position was previously read.
Fixes: Assertion failure
Fixes: 35253/clusterfuzz-testcase-minimized-ffmpeg_dem_MATROSKA_fuzzer-4693059982983168
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d115eec97929e23fd1b06df2d95f48cf5000eb87)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/sinewin.c')
0 files changed, 0 insertions, 0 deletions