diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2010-05-23 21:56:54 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2010-05-23 21:56:54 +0000 |
commit | 946da73682532d86376ff42318cb98b8a3fcf058 (patch) | |
tree | 8d859ac70972885d4dc4ae8b0401ca7835684a86 /libavformat/aea.c | |
parent | fbe347d656059cf71eff84655b4fefff04ce2100 (diff) | |
download | ffmpeg-946da73682532d86376ff42318cb98b8a3fcf058.tar.gz |
Fix detection of some stereo atrac files by not comparing the
block size mode and info byte.
Originally committed as revision 23272 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/aea.c')
-rw-r--r-- | libavformat/aea.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/aea.c b/libavformat/aea.c index 4b85f91068..6075031abe 100644 --- a/libavformat/aea.c +++ b/libavformat/aea.c @@ -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; } |