]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mov.c
lavfi/overlay: simpler up-rounded w/h computations.
[ffmpeg] / libavformat / mov.c
index 3e48f15e20d99419f992c442b2ebd0fad4bf3669..a28631baf0b76aa5ba7a84ed10e261a0a3f07a97 100644 (file)
@@ -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: