forked from FFmpeg/FFmpeg
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
This commit is contained in:
parent
fbe347d656
commit
946da73682
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue