[FFmpeg-cvslog] r23272 - trunk/libavformat/aea.c

banan subversion
Sun May 23 23:56:54 CEST 2010


Author: banan
Date: Sun May 23 23:56:54 2010
New Revision: 23272

Log:
Fix detection of some stereo atrac files by not comparing the
block size mode and info byte. Reduced the probe score just in case.

Modified:
   trunk/libavformat/aea.c

Modified: trunk/libavformat/aea.c
==============================================================================
--- trunk/libavformat/aea.c	Sun May 23 23:30:21 2010	(r23271)
+++ trunk/libavformat/aea.c	Sun May 23 23:56:54 2010	(r23272)
@@ -46,10 +46,9 @@ static int aea_read_probe(AVProbeData *p
         /* Check so that the redundant bsm bytes and info bytes are valid
          * the block size mode bytes have to be the same
          * the info bytes have to be the same
-         * the block size mode and info byte can't be the same
          */
-        if (bsm_s == bsm_e && inb_s == inb_e && bsm_s != inb_s)
-            return AVPROBE_SCORE_MAX / 2;
+        if (bsm_s == bsm_e && inb_s == inb_e)
+            return AVPROBE_SCORE_MAX / 2 + 1;
     }
     return 0;
 }



More information about the ffmpeg-cvslog mailing list