[FFmpeg-devel] [PATCH]lavf/wavdec: Allow decoding of invalid large wav files

Michael Niedermayer michaelni at gmx.at
Sat May 9 17:45:46 CEST 2015

On Fri, May 08, 2015 at 08:01:15PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> Valid wav files are not larger than 4G, files that are 
> larger are truncated by current FFmpeg.
> Attached patch allows reading such files if the size 
> was (imo "correctly") written to -1.
> Please comment, Carl Eugen

>  wavdec.c |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 227da1c1acd2affa88538476148a1c6bbf43979b  patchwav4gdec.diff

maybe ok

i think a warning or something should be printed for such files


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- 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/20150509/61542e85/attachment.asc>

More information about the ffmpeg-devel mailing list