[FFmpeg-devel] [PATCH]Do not detect mpegts-in-mov as mov
Michael Niedermayer
michaelni at gmx.at
Tue Oct 23 15:17:31 CEST 2012
On Tue, Oct 23, 2012 at 10:47:53AM +0200, Carl Eugen Hoyos wrote:
> On Tuesday 23 October 2012 02:45:54 am Michael Niedermayer wrote:
>
> > > case MKTAG('f','t','y','p'):
> > > - score = AVPROBE_SCORE_MAX;
> > > + if (AV_RB32(p->buf+offset) >= 8) {
> > > + score = AVPROBE_SCORE_MAX;
> > > + } else {
> > > + score = FFMAX(score, AVPROBE_SCORE_MAX - 50);
> > > + }
> >
> > size == 1 indicates a 64bit sized atom
> > the 64bit size has to be checked too in that case
>
> Definitely.
> New patch attached.
LGTM
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121023/cfe69c0b/attachment.asc>
More information about the ffmpeg-devel
mailing list