avcodec/cbs_h2645: Skip all 0 NAL units
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Dec 2019 18:19:49 +0000 (19:19 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 11 Jan 2020 22:31:18 +0000 (23:31 +0100)
commit285138ef14327ec71f356e3a923c4adde0874dc6
tree240f4fef00acb0a0f607097f0fa3dc470e83ad84
parent794352ae9d1cb32b4b9e45d3affb83763f4ee12e
avcodec/cbs_h2645: Skip all 0 NAL units

Fixes: assertion failure
Fixes: 19286/clusterfuzz-testcase-minimized-ffmpeg_BSF_H264_REDUNDANT_PPS_fuzzer-5707990724509696

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