# HG changeset patch # User bcoudurier # Date 1216340617 0 # Node ID 7d5480d3989d428f6aeaf1a2b420d764fb1f0ffb # Parent e421492a6e27237f2fa68f4012215430d7713e00 Return max score when ftyp atom is encountered. diff -r e421492a6e27 -r 7d5480d3989d mov.c --- a/mov.c Thu Jul 17 14:13:44 2008 +0000 +++ b/mov.c Fri Jul 18 00:23:37 2008 +0000 @@ -1699,6 +1699,7 @@ case MKTAG('m','d','a','t'): case MKTAG('p','n','o','t'): /* detect movs with preview pics like ew.mov and april.mov */ case MKTAG('u','d','t','a'): /* Packet Video PVAuthor adds this and a lot of more junk */ + case MKTAG('f','t','y','p'): return AVPROBE_SCORE_MAX; /* those are more common words, so rate then a bit less */ case MKTAG('e','d','i','w'): /* xdcam files have reverted first tags */ @@ -1708,7 +1709,6 @@ case MKTAG('p','i','c','t'): return AVPROBE_SCORE_MAX - 5; case MKTAG(0x82,0x82,0x7f,0x7d ): - case MKTAG('f','t','y','p'): case MKTAG('s','k','i','p'): case MKTAG('u','u','i','d'): case MKTAG('p','r','f','l'):