comparison 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
comparison
equal deleted inserted replaced
7128:614bc53e67a8 7129:322023e630a6
359 vlc_tab_fft_tone_offset_4_huffcodes, 2, 2, INIT_VLC_USE_STATIC | INIT_VLC_LE); 359 vlc_tab_fft_tone_offset_4_huffcodes, 2, 2, INIT_VLC_USE_STATIC | INIT_VLC_LE);
360 } 360 }
361 361
362 362
363 /* for floating point to fixed point conversion */ 363 /* for floating point to fixed point conversion */
364 static float f2i_scale = (float) (1 << (FRAC_BITS - 15)); 364 static const float f2i_scale = (float) (1 << (FRAC_BITS - 15));
365 365
366 366
367 static int qdm2_get_vlc (GetBitContext *gb, VLC *vlc, int flag, int depth) 367 static int qdm2_get_vlc (GetBitContext *gb, VLC *vlc, int flag, int depth)
368 { 368 {
369 int value; 369 int value;