On Wed, Dec 30, 2015 at 3:09 PM, Jan Stary <h...@stare.cz> wrote:
> I have seen other files reported as "44.1 kHz"
> when there was no sampling involved.

I believe the issue is with /src/usr.bin/file/magdir/animation on line 280.

# MP3, M1A
# modified by Joerg Jenderek
# GRR the original test are too common for many DOS files
# so don't accept as MP3 until we've tested the rate
0       beshort&0xFFFE

The initial matching seems to be occurring because the line is missing
the proper value to match to. The further tests for sampling rate and
number of independent audio channels is then occurring.

I believe it should be:

# MP3, M1A
# modified by Joerg Jenderek
# GRR the original test are too common for many DOS files
# so don't accept as MP3 until we've tested the rate
0       beshort&0xFFFE  0xFFFA

or somebody secretly embedded a Carly Rae Jepsen into the ISO.

Brandon Vincent

Reply via email to