# HG changeset patch # User banan # Date 1274651814 0 # Node ID 33e5c391073894ebf4d5c3cb7da9b01d610990a4 # Parent f8d603e0850fcf8c562e1b75c4b6b58ebfe13b1c Fix detection of some stereo atrac files by not comparing the block size mode and info byte. Reduced the probe score just in case. diff -r f8d603e0850f -r 33e5c3910738 aea.c --- a/aea.c Sun May 23 21:10:05 2010 +0000 +++ b/aea.c Sun May 23 21:56:54 2010 +0000 @@ -46,10 +46,9 @@ /* 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; }