[FFmpeg-devel] [PATCH] lavf/wavdec: add sanity check for AVCodecContext.channels

Michael Niedermayer michaelni at gmx.at
Mon Aug 18 09:42:24 CEST 2014


On Mon, Aug 18, 2014 at 03:14:01AM -0300, James Almer wrote:
> Fixes ticket #3862.
> As a side effect, this also fixes aac_latm in wav.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>

applied


> ---
> Maybe a check for channels <= 0 should be also added to ff_get_wav_header()
> right after the sample_rate one?

sounds reasonable, would need to be tested though

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140818/facc3b7c/attachment.asc>


More information about the ffmpeg-devel mailing list