diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2008-06-25 00:01:31 +0400 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2008-06-25 00:01:31 +0400 |
commit | cf2baeb3382283d41eac7886ea831f52262971ba (patch) | |
tree | 986724da3ac8630b2903b8edc7a89498e2baf854 /libavcodec/qdm2.c | |
parent | 73cc419b271ac5af8c1aed36b5c0167c7016127a (diff) |
mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qdm2.c')
-rw-r--r-- | libavcodec/qdm2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index ecc9428082..5b9c60faee 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -361,7 +361,7 @@ static void qdm2_init_vlc(void) /* 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) |