changeset 32035:bc01ea7a6322

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
author diego
date Thu, 09 Sep 2010 16:47:45 +0000
parents ccf4905a8ca6
children dbca781e632f
files libmpcodecs/ve.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve.c	Thu Sep 09 16:46:08 2010 +0000
+++ b/libmpcodecs/ve.c	Thu Sep 09 16:47:45 2010 +0000
@@ -40,7 +40,7 @@
  * 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