[FFmpeg-devel] [PATCH]Re: vorbis on bsd

Måns Rullgård mans
Fri Aug 6 16:49:40 CEST 2010


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

> I *think* this patch should fix it. I don't have an OpenBSD box to test it on.
>
> Index: libavcodec/vorbis_dec.c
> ===================================================================
> --- libavcodec/vorbis_dec.c	(revision 24715)
> +++ libavcodec/vorbis_dec.c	(working copy)
> @@ -81,7 +81,7 @@
>          } t0;
>          struct vorbis_floor1_s {
>              uint_fast8_t partitions;
> -            uint_fast8_t partition_class[32];
> +            uint8_t      partition_class[32];
>              uint_fast8_t class_dimensions[16];
>              uint_fast8_t class_subclasses[16];
>              uint_fast8_t class_masterbook[16];

This looks like a sane thing to do regardless.  The others should
probably be changed too.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list