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

Michael Niedermayer michaelni
Thu Nov 27 12:41:39 CET 2008


On Thu, Nov 27, 2008 at 10:45:05AM +0200, Maksym Veremeyenko wrote:
> Michael Niedermayer ???????(??):
>> On Wed, Nov 26, 2008 at 01:50:55PM +0200, Maksym Veremeyenko wrote:
>>> Michael Niedermayer ???????(??):
>>>> On Wed, Nov 26, 2008 at 01:21:59PM +0200, Maksym Veremeyenko wrote:
>>> [...]
>> [...]
>>>>> What method is preferable to fixing issue with truncated file contains 
>>>>> broken sample? Fixing pcm.c?
>>>> yes
> attached patch recover possibles samples from broken/truncated audio 
> packet.
>
> Minor is additional warning from ffmpeg: "Multiple frames in a packet from 
> stream 0"
>
> Any suggestions?

looks ok, if it has been tested and confirmed that files for which this
triggers have no missing samples in their output (also such files should
cause "Multiple frames in a packet from stream" to be printed by ffmpeg

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081127/7c447873/attachment.pgp>



More information about the ffmpeg-devel mailing list