[FFmpeg-devel] [PATCH] Fix ogg demuxer with broken (continuation) files [issue 798]

Måns Rullgård mans
Mon Feb 9 10:36:09 CET 2009

Alex Converse <alex.converse at gmail.com> writes:

> On Mon, Jan 26, 2009 at 4:22 AM, M?ns Rullg?rd <mans at mansr.com> wrote:
>> Peter Ross <pross at xvid.org> writes:
>>> Hi,
>>> This patch makes the ogg demuxer function with malformed ogg files where the continuation
>>> flag is set incorrectly.
>>> Example. http://ftp.heanet.ie/mirrors/fosdem-video/2008/maintracks/FOSDEM2008-swpat.ogg
>>> contains stupid page/segment configurations like this:
>>>  PAGE N
>>>     SEGMENT (236 bytes)
>>>     SEGMENT (255 bytes)
>>>  PAGE N+1, continuation flag not set
>>>     SEGMENT (0 bytes)
>>>     SEGMENT (253 bytes)
>>>     ...
>> For some reason those file work perfectly with the original demuxer.
>> I'd like to find out why before patching anything.
> What do you mean by "the original demuxer?" libogg?

Sorry, that was unclear.  I meant my original demuxer that was ported
to lavf.  I also forgot about this issue.  I easily forget about Ogg.
That's the only way I can remain sane.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list