[Ffmpeg-devel] [PATCH] allow ffmpeg to read mp3s beginning with partial frames

Andreas Öman andreas
Sun Sep 10 07:26:01 CEST 2006


Andreas ?man wrote:
> Hello,
> Michael Niedermayer wrote:
>> Hi
>> hmm, the ts files would have to begin in the middle of a packet for that
>> to be possible and only 1 out of about 500 so cut files should be 
>> affected
>> your patch though might missdetect half of all mpeg-ps files with mp3 in
>> them even uncut
>> [Lots of good feedback snipped] 
> Thanks for the comments.
> I've made a revised patch based on your ideas and also included the 
> (correct) id3_match()-check.

Never mind the previous patch, here is a better one with me actually
understanding the purpose of your 'max_frames' :-) (I must be too
tired this early)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp3.diff
Type: text/x-patch
Size: 1807 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060910/3ed664c5/attachment.bin>

More information about the ffmpeg-devel mailing list