[FFmpeg-devel] [PATCH] recover from truncated aiff

Maksym Veremeyenko verem
Wed Nov 26 09:46:53 CET 2008


Baptiste Coudurier ???????(??):
[...]
>> Question: if wav file contains a MP2 data, does st->codec->block_align 
>> will be configured? If yes, does it code has a sense in libavformat/wav.c:
> 
> I'd say, if block_align is set, respect it.
> 
I checked for MP3 data in wav: block_align=1

so please have a look on attached patch.

-- 
________________________________________
Maksym Veremeyenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wav_handle_broken_sample.patch
Type: text/x-patch
Size: 1057 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081126/f19ab233/attachment.bin>



More information about the ffmpeg-devel mailing list