[MPlayer-cvslog] r32119 - trunk/libmpcodecs/ve.c

diego subversion at mplayerhq.hu
Thu Sep 9 18:47:45 CEST 2010


Author: diego
Date: Thu Sep  9 18:47:45 2010
New Revision: 32119

Log:
Mark encoder_list declaration as const pointers to const data, fixes:
libmpcodecs/ve.c:45: warning: initialization discards qualifiers from pointer target type
libmpcodecs/ve.c:56: warning: initialization discards qualifiers from pointer target type
libmpcodecs/ve.c:74: warning: passing argument 1 of 'vf_open_plugin' from incompatible pointer type

Modified:
   trunk/libmpcodecs/ve.c

Modified: trunk/libmpcodecs/ve.c
==============================================================================
--- trunk/libmpcodecs/ve.c	Thu Sep  9 18:46:08 2010	(r32118)
+++ trunk/libmpcodecs/ve.c	Thu Sep  9 18:47:45 2010	(r32119)
@@ -40,7 +40,7 @@ extern const vf_info_t ve_info_x264;
  * encoder, add it to libavcodec, except for wrappers around external
  * libraries and encoders requiring binary support. */
 
-static vf_info_t* encoder_list[]={
+static const vf_info_t * const encoder_list[] = {
 #ifdef CONFIG_LIBAVCODEC
     &ve_info_lavc,
 #endif


More information about the MPlayer-cvslog mailing list