[vlc-devel] commit: avcodec: dummy palette is const (Derk-Jan Hartman )

git version control git at videolan.org
Sun Aug 3 13:38:45 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Sun Aug  3 13:34:23 2008 +0200| [fad4fcdad36acca367150e1f1f1e7fac00764a87] | committer: Derk-Jan Hartman 

avcodec: dummy palette is const

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fad4fcdad36acca367150e1f1f1e7fac00764a87
---

 modules/codec/avcodec/video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index d45a446..5713154 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -84,7 +84,7 @@ struct decoder_sys_t
 };
 
 /* FIXME (dummy palette for now) */
-static AVPaletteControl palette_control;
+static const AVPaletteControl palette_control;
 
 /*****************************************************************************
  * Local prototypes




More information about the vlc-devel mailing list