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

Michael Niedermayer michaelni
Sun Sep 10 10:44:22 CEST 2006


Hi

On Sun, Sep 10, 2006 at 07:26:01AM +0200, Andreas ?man wrote:
> ,...
> 
> 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)

looks ok

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

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list