comparison dpcm.c @ 7129:322023e630a6 libavcodec

mark read-only data as const
author stefang
date Tue, 24 Jun 2008 20:01:31 +0000
parents e943e1409077
children 85ab7655ad4d
comparison
equal deleted inserted replaced
7128:614bc53e67a8 7129:322023e630a6
46 const int *sol_table;//for SOL_DPCM 46 const int *sol_table;//for SOL_DPCM
47 } DPCMContext; 47 } DPCMContext;
48 48
49 #define SE_16BIT(x) if (x & 0x8000) x -= 0x10000; 49 #define SE_16BIT(x) if (x & 0x8000) x -= 0x10000;
50 50
51 static int interplay_delta_table[] = { 51 static const int interplay_delta_table[] = {
52 0, 1, 2, 3, 4, 5, 6, 7, 52 0, 1, 2, 3, 4, 5, 6, 7,
53 8, 9, 10, 11, 12, 13, 14, 15, 53 8, 9, 10, 11, 12, 13, 14, 15,
54 16, 17, 18, 19, 20, 21, 22, 23, 54 16, 17, 18, 19, 20, 21, 22, 23,
55 24, 25, 26, 27, 28, 29, 30, 31, 55 24, 25, 26, 27, 28, 29, 30, 31,
56 32, 33, 34, 35, 36, 37, 38, 39, 56 32, 33, 34, 35, 36, 37, 38, 39,