avcodec/h264_slice: clear frame only on gaps when it is not otherwise initilaized
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 8 Sep 2019 17:27:26 +0000 (19:27 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 24 Sep 2019 15:53:39 +0000 (17:53 +0200)
commit1e984a69155c8b49d6fd4cd0a052d62da42d59a6
tree146fc234c8782cdd5b55f63c30b2e54d53b4831d
parent340ab13504dddb71889f518983174d7bac7cfe96
avcodec/h264_slice: clear frame only on gaps when it is not otherwise initilaized

Fixes: Timeout (53sec -> 31sec)
Fixes: 16908/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5711207859748864

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_slice.c