[Vorbis-dev] [Patch] Const correct tags functions

Erik de Castro Lopo mle+la at mega-nerd.com
Tue Aug 14 05:54:49 PDT 2007


Erik de Castro Lopo wrote:

> The problem is that string literals like "ENCODER" are be const
> char * which vorbis_comment_add_tag is prototyped as having char *
> pointers, even though the strings pointed to are not modified.
> 
> The following patch (against SVN head) makes the libvorbis const
> correct.

Is someone able to take a look at this patch?

Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"Microsoft, and other companies with shoddy security, ....."
 -- Bruce Schneier, cryto-guru, to a US Senate committee.


More information about the Vorbis-dev mailing list