[FFmpeg-devel] [PATCH] avformat/rawenc: avoid divide by 0 when writing adx trailer

Andriy Gelman andriy.gelman at gmail.com
Sun Jul 14 06:10:21 EEST 2019


On Sun, 14. Jul 00:40, Carl Eugen Hoyos wrote:
> 
> > Am 13.07.2019 um 22:50 schrieb Andriy Gelman <andriy.gelman at gmail.com>:
> > 
> > From: Andriy Gelman <andriy.gelman at gmail.com>
> > 
> > Fixes #7985
> 
> Did you check the patch mentioned there?

Sorry, I missed that you sent a patch. 

I applied it, but get a divide by 0 exception in libavformat/rawenc.c:60
because par->channels = 0 with the example in #7985 

Andriy


More information about the ffmpeg-devel mailing list