[FFmpeg-cvslog] Revert "avformat/img2dec: reduce bmppipe probe score"

Michael Niedermayer git at videolan.org
Fri Oct 3 15:09:45 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Oct  3 13:54:06 2014 +0200| [97cb9b6cbb0ea1e8127a4a52790a8e35c20988ed] | committer: Michael Niedermayer

Revert "avformat/img2dec: reduce bmppipe probe score"

This seems not needed anymore

This reverts commit 321c3cd1a97b9307760c3ebb175296590c382eca.

Found-by: carl

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=97cb9b6cbb0ea1e8127a4a52790a8e35c20988ed
---

 libavformat/img2dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index 16bd699..5aac555 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -585,7 +585,7 @@ static int bmp_probe(AVProbeData *p)
         return 0;
 
     if (!AV_RN32(b + 6)) {
-        return AVPROBE_SCORE_EXTENSION - 1; // lower than extension as bmp pipe has bugs
+        return AVPROBE_SCORE_EXTENSION + 1;
     } else {
         return AVPROBE_SCORE_EXTENSION / 4;
     }



More information about the ffmpeg-cvslog mailing list