[FFmpeg-cvslog] latm: Do not give a score for a single instance
Luca Barbato
git at videolan.org
Sun Jan 18 00:36:49 CET 2015
ffmpeg | branch: release/2.4 | Luca Barbato <lu_zero at gentoo.org> | Fri Dec 5 15:31:20 2014 +0100| [da35008c314eae5a10a8c070f5185b7694c0a37e] | committer: Luca Barbato
latm: Do not give a score for a single instance
Bug-Id: 773
CC: libav-stable at libav.org
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=da35008c314eae5a10a8c070f5185b7694c0a37e
---
libavformat/rawdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 09fdbc3..65cb6bb 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -155,7 +155,7 @@ static int latm_read_probe(AVProbeData *p)
return AVPROBE_SCORE_EXTENSION;
else if (max_frames >= 3)
return AVPROBE_SCORE_EXTENSION / 2;
- else if (max_frames >= 1)
+ else if (max_frames > 1)
return 1;
else
return 0;
More information about the ffmpeg-cvslog
mailing list