[FFmpeg-devel] [PATCH 2/3] oggdec: verify page checksum

Mattias Wadman mattias.wadman at gmail.com
Tue Apr 28 15:59:57 EEST 2020


On Tue, Apr 28, 2020 at 1:59 PM Lynne <dev at lynne.ee> wrote:
>
> This makes decoding far more robust, since OggS, the ogg magic,
> can be commonly found randomly in streams, which previously made
> the demuxer think there's a new stream or a change in such.
>
> Patch attached.

Should check version after verifying checksum? this breaks with my
test files were the false syncword has a non-zero byte afterwards.

>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list