[FFmpeg-cvslog] mov_probe: use correct variable
Michael Niedermayer
git at videolan.org
Thu Oct 25 00:30:45 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Oct 25 00:23:29 2012 +0200| [58c2c17f1dd298833980a5f56d4b5b0bf0a98252] | committer: Michael Niedermayer
mov_probe: use correct variable
Fixes CID739867
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58c2c17f1dd298833980a5f56d4b5b0bf0a98252
---
libavformat/mov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index d9c509b..d7d7f21 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;
More information about the ffmpeg-cvslog
mailing list