Commit 6f2e2bef authored by banan's avatar banan

Fix detection of some stereo atrac files by not comparing the

block size mode and info byte. Reduced the probe score just in case.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23272 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4d9519a6
...@@ -46,10 +46,9 @@ static int aea_read_probe(AVProbeData *p) ...@@ -46,10 +46,9 @@ static int aea_read_probe(AVProbeData *p)
/* Check so that the redundant bsm bytes and info bytes are valid /* Check so that the redundant bsm bytes and info bytes are valid
* the block size mode bytes have to be the same * the block size mode bytes have to be the same
* the info 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) if (bsm_s == bsm_e && inb_s == inb_e)
return AVPROBE_SCORE_MAX / 2; return AVPROBE_SCORE_MAX / 2 + 1;
} }
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment