Thanks Mathew, I just changed VbrTag.c to set
the CRC bit for the Xing-VBR tagging frame
like the first frame.
Now mpg123 works with protected VBR files.
Robert
Mathew Hendry schrieb am Mon, 03 Jul 2000:
> > From: Shawn Riley [mailto:[EMAIL PROTECTED]]
> >
> > If mpg123 needs all frames to have CRC, can the VBR header
> > contain a CRC?
> > Or would the CRC cause problems if it were to be embedded in
> > a VBR header?
>
> Easy to test: toggle bit 16 in the first frame header, e.g. if the first 32
> bits reads
>
> 31 0
> | |
> ff fb 50 04 (crc off)
>
> change it to
>
> ff fa 50 04 (crc on)
>
> Yes, the "CRC" will be invalid (65535 / 65536 of the time) but it's an
> invalid MP3 frame anyway, so that should be okay. I only have Winamp to hand
> here, but Nitrane 2.25 and Shibatch in_mpg123 1.18 don't seem to have any
> trouble with it. mpg123 itself would be the acid test, though...
>
> -- Mat.
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )