changeset 7125:65e7e714c770 libavcodec

Mark constant structure member as const to avoid some warnings. patch by Laurent Desnogues, laurent.desnogues gmail com
author diego
date Tue, 24 Jun 2008 09:10:30 +0000
parents ee76d7ee5fcd
children decce608d0a9
files dct-test.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dct-test.c	Tue Jun 24 09:00:58 2008 +0000
+++ b/dct-test.c	Tue Jun 24 09:10:30 2008 +0000
@@ -68,7 +68,7 @@
 
 
 struct algo {
-  char *name;
+  const char *name;
   enum { FDCT, IDCT } is_idct;
   void (* func) (DCTELEM *block);
   void (* ref)  (DCTELEM *block);