Re: [FFmpeg-devel] [PATCH 5/5] avcodec/cngdec: Remove AV_CODEC_CAP_DELAY

2019-11-24 Thread Michael Niedermayer
On Sat, Oct 19, 2019 at 10:39:50PM +0200, Michael Niedermayer wrote: > As is the decoder will never stop, it will cause an infinite loop. The RFC > seems only > to speak of non empty packets so endlessly generating noise from the last > empty flush > packets seems wrong. > > Fixes: infinite loop

[FFmpeg-devel] [PATCH 5/5] avcodec/cngdec: Remove AV_CODEC_CAP_DELAY

2019-10-19 Thread Michael Niedermayer
As is the decoder will never stop, it will cause an infinite loop. The RFC seems only to speak of non empty packets so endlessly generating noise from the last empty flush packets seems wrong. Fixes: infinite loop Fixes: 18333/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_COMFORTNOISE_fuzze