[vlc-devel] [PATCH] Audio core: avoid FPE in aout_ChannelReorder
jb at videolan.org
Thu Oct 10 14:20:36 CEST 2013
On 10 Oct, Rémi Denis-Courmont wrote :
> On Thu, 10 Oct 2013 10:54:05 +0200, Jean-Baptiste Kempf <jb at videolan.org>
> > aout_BitsPerSample can return 0 in some valid situations
> BitsPerSample can be 0 if the format is non-linear,
or if the codec is not part of the defined list.
> but reodering channels is then NOT valid. It does not even make sense.
It is the case with the 'araw' codec in wav. But maybe the wav demuxer
should be fixed then.
And then it should assert if it is NOT valid.
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel