forked from FFmpeg/FFmpeg
Return max score when ftyp atom is encountered.
Originally committed as revision 14272 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a1f3ffa3ce
commit
40e7aaa384
1 changed files with 1 additions and 1 deletions
|
@ -1699,6 +1699,7 @@ static int mov_probe(AVProbeData *p)
|
||||||
case MKTAG('m','d','a','t'):
|
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('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('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;
|
return AVPROBE_SCORE_MAX;
|
||||||
/* those are more common words, so rate then a bit less */
|
/* those are more common words, so rate then a bit less */
|
||||||
case MKTAG('e','d','i','w'): /* xdcam files have reverted first tags */
|
case MKTAG('e','d','i','w'): /* xdcam files have reverted first tags */
|
||||||
|
@ -1708,7 +1709,6 @@ static int mov_probe(AVProbeData *p)
|
||||||
case MKTAG('p','i','c','t'):
|
case MKTAG('p','i','c','t'):
|
||||||
return AVPROBE_SCORE_MAX - 5;
|
return AVPROBE_SCORE_MAX - 5;
|
||||||
case MKTAG(0x82,0x82,0x7f,0x7d ):
|
case MKTAG(0x82,0x82,0x7f,0x7d ):
|
||||||
case MKTAG('f','t','y','p'):
|
|
||||||
case MKTAG('s','k','i','p'):
|
case MKTAG('s','k','i','p'):
|
||||||
case MKTAG('u','u','i','d'):
|
case MKTAG('u','u','i','d'):
|
||||||
case MKTAG('p','r','f','l'):
|
case MKTAG('p','r','f','l'):
|
||||||
|
|
Loading…
Add table
Reference in a new issue