Commit 58c2c17f authored by Michael Niedermayer's avatar Michael Niedermayer

mov_probe: use correct variable

Fixes CID739867
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent aa478213
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment