diff qdm2.c @ 7129:322023e630a6 libavcodec

mark read-only data as const
author stefang
date Tue, 24 Jun 2008 20:01:31 +0000
parents e943e1409077
children 7950572e58eb
line wrap: on
line diff
--- a/qdm2.c	Tue Jun 24 18:38:55 2008 +0000
+++ b/qdm2.c	Tue Jun 24 20:01:31 2008 +0000
@@ -361,7 +361,7 @@
 
 
 /* for floating point to fixed point conversion */
-static float f2i_scale = (float) (1 << (FRAC_BITS - 15));
+static const float f2i_scale = (float) (1 << (FRAC_BITS - 15));
 
 
 static int qdm2_get_vlc (GetBitContext *gb, VLC *vlc, int flag, int depth)