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

Baptiste Coudurier baptiste.coudurier
Tue Nov 25 19:37:50 CET 2008

Maksym Veremeyenko wrote:
> Baptiste Coudurier ???????(??):
> [...]
>> It seems this issue is also present in raw.c and wav.c
> wav.c will behave IMHO in the same way on broken samples, but i am not 
> sure that solution will be appropriate for wav.c because it could 
> contains other then PCM data.
> 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.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no

More information about the ffmpeg-devel mailing list