aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-07-18 00:23:37 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-07-18 00:23:37 +0000
commit40e7aaa38450f341c91098f8e51963d2e9316fa7 (patch)
tree34e366573205569519ba4a826c09d090862cd30b /libavformat/mov.c
parenta1f3ffa3ce52d207bd5b8afddcd0ad56c56d8f3b (diff)
downloadffmpeg-40e7aaa38450f341c91098f8e51963d2e9316fa7.tar.gz
Return max score when ftyp atom is encountered.
Originally committed as revision 14272 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 1baa46083a..483971a479 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1699,6 +1699,7 @@ static int mov_probe(AVProbeData *p)
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 @@ static int mov_probe(AVProbeData *p)
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'):