1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

mov_probe: use correct variable

Fixes CID739867
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-10-25 00:23:29 +02:00
parent aa47821344
commit 58c2c17f1d

View File

@ -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;