[Ffmpeg-devel] Compilation with --enable-theora fails

Måns Rullgård mru
Fri May 13 12:59:36 CEST 2005


matthieu castet <castet.matthieu at free.fr> writes:

> M?ns Rullg?rd wrote:
>> matthieu castet <castet.matthieu at free.fr> writes:
>>
>>>M?ns Rullg?rd wrote:
>>>
>>>>castet.matthieu at free.fr writes:
>>>>
>>>
>>>It segdefault with old theora stream
>> Oops, not good at all.
>>
>>>(ftp://ftp.mplayerhq.hu/MPlayer/samples/ogg/Theora/).
>> That stream uses an old theora version.  The current libtheora no
>> longer supports it.
>>
>>>We should check the version, assert the codec.time_base.den or find a
>>>way to decode this...
>> I'll add a check of the theora version, and have it fail gracefully.
>>
> What is strange is the libtheora check is
> "if(ci->version_minor>VERSION_MINOR)return(OC_VERSION);".
> so version 3.1.0 should pass...
>
> May be there are another test somewhere....

I was looking at the spec PDF:

  2. Read an 8-bit unsigned integer as VMAJ. If VMAJ is not 3, then stop.
     This stream is not decodable according to this specification.
  3. Read an 8-bit unsigned integer as VMIN. If VMIN is not 2, then stop.
     This stream is not decodable according to this specification.

The sample on mplayerhq is v3.1, and it certainly uses a different
header format.

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





More information about the ffmpeg-devel mailing list