Mercurial > libavformat.hg
changeset 6044:33e5c3910738 libavformat
Fix detection of some stereo atrac files by not comparing the
block size mode and info byte. Reduced the probe score just in case.
author | banan |
---|---|
date | Sun, 23 May 2010 21:56:54 +0000 |
parents | f8d603e0850f |
children | 69289b8cf847 |
files | aea.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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; }