[Ffmpeg-devel] [PATCH] different vorbis extradata handling

Måns Rullgård mru
Fri May 13 15:12:05 CEST 2005


Nico Sabbi <nsabbi at email.it> writes:

> M?ns Rullg?rd wrote:
>
>>Michael Niedermayer <michaelni at gmx.at> writes:
>>
>>>well, supporting the old method for vorbis would be nice
>>
>>Any suggestions how to detect it?
>
> maybe relying on the fact that the previous method had 2 bytes that
> had to amount to 30 followed by the first syncword of the vorbis
> header, while the newer method must begin with 2 30 ?  It's not nice
> but it's how it works now

Right, the first packet is constant size, so it's an easy check.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list