avcodec/clearvideo: Only output a frame if one is coded in the packet
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Sep 2017 23:32:52 +0000 (01:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 11 Sep 2017 10:23:59 +0000 (12:23 +0200)
commitf0efd795f460aa64d06bb542c6eadd113c2585c2
tree8990eb2a0b8ee01ca467b4bb9d11298dbe760c55
parentc225da68cffbea11270a758ff42859194c980863
avcodec/clearvideo: Only output a frame if one is coded in the packet

Fixes: Timeout (183 ms instead of about 20 sec)
Fixes: 3147/clusterfuzz-testcase-4870592182353920

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