[FFmpeg-devel] [PATCH] recover from truncated aiff
Maksym Veremeyenko
verem
Wed Nov 26 10:14:19 CET 2008
Maksym Veremeyenko ???????(??):
> Baptiste Coudurier ???????(??):
> [...]
>> Michael suggested to use RAW_PACKET_SIZE*st->codec->block_align in
>> case it was not clear, this way packets have the same duration,
>> whatever channels or bps it is.
> used
>
>> Also use "if (ret % st->codec->block_align) {", more clear.
> used
>
> newer patches for raw.c and aiff.c attached.
Previous patches truncate mono-8-bit sample if its count is odd
Newer patches with checking (st->codec->block_align > 1) attached.
--
________________________________________
Maksym Veremeyenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aiff_handle_broken_sample_v3.patch
Type: text/x-patch
Size: 843 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081126/2d06ae8f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: raw_audio_handle_broken_sample_v4.patch
Type: text/x-patch
Size: 2214 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081126/2d06ae8f/attachment-0001.bin>
More information about the ffmpeg-devel
mailing list