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

Andriy Gelman andriy.gelman at gmail.com
Sun Jul 14 07:12:59 EEST 2019


On Sat, 13. Jul 23:10, Andriy Gelman wrote:
> 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 

ok, I think a different patch you sent for #7979 will also solve
the above problem
https://patchwork.ffmpeg.org/patch/13780/

Andriy





More information about the ffmpeg-devel mailing list