[FFmpeg-devel] [PATCH] Make wmaprodec.c:decode_init() return AVERROR_INVALIDDATA in case of illegal number of channels

Stefano Sabatini stefano.sabatini-lala
Sun Mar 21 21:59:08 CET 2010


On date Tuesday 2010-03-16 21:13:32 +0100, Sascha Sommer encoded:
> Hi,
[...]
> According to http://en.wikipedia.org/wiki/Windows_Media_Audio, wmapro files 
> can have more than 8 channels but I never saw such a file in the wild.
> I therefore think that AVERROR_INVALIDDATA is wrong.
> It could be replaced with AVERROR_PATCHWELCOME, though.

Check the attached patch, regards.
-- 
FFmpeg = Freak Fundamental Mastodontic Powered Enhancing Ghost



More information about the ffmpeg-devel mailing list