summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-05 12:29:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-05 12:31:03 +0200
commitf083b4c33883719861c3055033dd35ffce73c6e0 (patch)
treeba495eb53dd501257ee76a988c1f0bb27f555a9a /libavformat/mov.c
parent77570facdb41233a6fef9d8861023b1eeffe361f (diff)
parente0f8be6413b6a8d334d6052e610af32935c310af (diff)
Merge commit 'e0f8be6413b6a8d334d6052e610af32935c310af'
* commit 'e0f8be6413b6a8d334d6052e610af32935c310af': avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate Conflicts: libavformat/ac3dec.c libavformat/avformat.h libavformat/avs.c libavformat/m4vdec.c libavformat/mov.c libavformat/mp3dec.c libavformat/mpeg.c libavformat/mpegvideodec.c libavformat/psxstr.c libavformat/pva.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 3e48f15e20..a28631baf0 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2887,7 +2887,7 @@ static int mov_probe(AVProbeData *p)
(AV_RB32(p->buf+offset) != 1 ||
offset + 12 > (unsigned int)p->buf_size ||
AV_RB64(p->buf+offset + 8) == 0)) {
- score = FFMAX(score, AVPROBE_SCORE_MAX - 50);
+ score = FFMAX(score, AVPROBE_SCORE_EXTENSION);
} else {
score = AVPROBE_SCORE_MAX;
}
@@ -2907,7 +2907,7 @@ static int mov_probe(AVProbeData *p)
case MKTAG('u','u','i','d'):
case MKTAG('p','r','f','l'):
/* if we only find those cause probedata is too small at least rate them */
- score = FFMAX(score, AVPROBE_SCORE_MAX - 50);
+ score = FFMAX(score, AVPROBE_SCORE_EXTENSION);
offset = FFMAX(4, AV_RB32(p->buf+offset)) + offset;
break;
default: