Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-25 02:23:29 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-10-25 02:24:25 +0400
commit58c2c17f1dd298833980a5f56d4b5b0bf0a98252 (patch)
tree82f949c1a3b9266e978838f5c2fad34b72ccf66a /libavformat
parentaa478213445995d10c53a74343e98cc0bd296924 (diff)
mov_probe: use correct variable
Fixes CID739867 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index d9c509bf1a..d7d7f21177 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2910,7 +2910,7 @@ static int mov_probe(AVProbeData *p)
offset = FFMAX(4, AV_RB32(p->buf+offset)) + offset;
}
}
- if(tag > AVPROBE_SCORE_MAX - 50 && moov_offset != -1) {
+ if(score > AVPROBE_SCORE_MAX - 50 && moov_offset != -1) {
/* moov atom in the header - we should make sure that this is not a
* MOV-packed MPEG-PS */
offset = moov_offset;