From: Damien S. <dsa...@us...> - 2007-09-30 17:39:33
|
Update of /cvsroot/openh323/opal/plugins/video/THEORA In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23234/plugins/video/THEORA Modified Files: theora_plugin.cxx Log Message: Killed more GCC 4.2 warnings. Patch from Matthias Schneider <ma30002000 yahoo de>. Index: theora_plugin.cxx =================================================================== RCS file: /cvsroot/openh323/opal/plugins/video/THEORA/theora_plugin.cxx,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** theora_plugin.cxx 2 Sep 2007 12:23:08 -0000 1.3 --- theora_plugin.cxx 30 Sep 2007 17:39:32 -0000 1.4 *************** *** 302,306 **** theora_comment_init(&theoraComment); ! theoraComment.vendor = "theora"; ret = theora_decode_header( &_theoraInfo, &theoraComment, &oggPacket ); if (ret != 0) { --- 302,306 ---- theora_comment_init(&theoraComment); ! theoraComment.vendor = (char*) "theora"; ret = theora_decode_header( &_theoraInfo, &theoraComment, &oggPacket ); if (ret != 0) { *************** *** 426,430 **** theoraErrorMessage(int code) { ! static char *error; static char errormsg [1024]; --- 426,430 ---- theoraErrorMessage(int code) { ! static const char *error; static char errormsg [1024]; |