[Ffmpeg-devel] [PATCH] libavformat and ogg vorbis tags
Benoit Fouet
benoit.fouet
Fri Jan 5 11:01:48 CET 2007
Tatu Kilappa wrote:
> ------------------------------------------------------------------------
>
> --- oggparsevorbis.c.original 2007-01-03 00:27:48.000000000 +0200
> +++ oggparsevorbis.c 2007-01-03 00:27:34.000000000 +0200
> @@ -87,7 +87,9 @@
> ct[vl] = 0;
>
> // took from Vorbis_I_spec
> - if (!strcmp (tt, "AUTHOR"))
> + if (!strcmp (tt, "ALBUM"))
> + strncpy (as->album, ct, FFMIN(sizeof (as->author), vl));
> + else if (!strcmp (tt, "ARTIST"))
>
i think you broke indentation.
also, isn't it "sizeof (as->album)" ?
Ben
More information about the ffmpeg-devel
mailing list