[MPlayer-cvslog] r28861 - in trunk/libmpcodecs: vd.c vd.h

reimar subversion at mplayerhq.hu
Fri Mar 6 21:20:12 CET 2009


Author: reimar
Date: Fri Mar  6 21:20:12 2009
New Revision: 28861

Log:
Add some "const" to mpcodecs_vd_drivers

Modified:
   trunk/libmpcodecs/vd.c
   trunk/libmpcodecs/vd.h

Modified: trunk/libmpcodecs/vd.c
==============================================================================
--- trunk/libmpcodecs/vd.c	Fri Mar  6 21:11:23 2009	(r28860)
+++ trunk/libmpcodecs/vd.c	Fri Mar  6 21:20:12 2009	(r28861)
@@ -53,7 +53,7 @@ extern vd_functions_t mpcodecs_vd_qtvide
  * decoder, add it to libavcodec, except for wrappers around external
  * libraries and decoders requiring binary support. */
 
-vd_functions_t* mpcodecs_vd_drivers[] = {
+const vd_functions_t * const mpcodecs_vd_drivers[] = {
         &mpcodecs_vd_null,
 #ifdef CONFIG_LIBAVCODEC
         &mpcodecs_vd_ffmpeg,

Modified: trunk/libmpcodecs/vd.h
==============================================================================
--- trunk/libmpcodecs/vd.h	Fri Mar  6 21:11:23 2009	(r28860)
+++ trunk/libmpcodecs/vd.h	Fri Mar  6 21:20:12 2009	(r28861)
@@ -18,7 +18,7 @@ typedef struct vd_functions_s
 } vd_functions_t;
 
 // NULL terminated array of all drivers
-extern vd_functions_t* mpcodecs_vd_drivers[];
+extern const vd_functions_t * const mpcodecs_vd_drivers[];
 
 extern int vd_use_slices;
 



More information about the MPlayer-cvslog mailing list