Mercurial > libavcodec.hg
comparison indeo3.c @ 7944:518521276932 libavcodec
Change table types to uint8_t
author | benoit |
---|---|
date | Tue, 30 Sep 2008 09:05:34 +0000 |
parents | e943e1409077 |
children | 25fa57ac17d4 |
comparison
equal
deleted
inserted
replaced
7943:3ff31e4454cd | 7944:518521276932 |
---|---|
52 | 52 |
53 unsigned char *ModPred; | 53 unsigned char *ModPred; |
54 unsigned short *corrector_type; | 54 unsigned short *corrector_type; |
55 } Indeo3DecodeContext; | 55 } Indeo3DecodeContext; |
56 | 56 |
57 static const int corrector_type_0[24] = { | 57 static const uint8_t corrector_type_0[24] = { |
58 195, 159, 133, 115, 101, 93, 87, 77, | 58 195, 159, 133, 115, 101, 93, 87, 77, |
59 195, 159, 133, 115, 101, 93, 87, 77, | 59 195, 159, 133, 115, 101, 93, 87, 77, |
60 128, 79, 79, 79, 79, 79, 79, 79 | 60 128, 79, 79, 79, 79, 79, 79, 79 |
61 }; | 61 }; |
62 | 62 |
63 static const int corrector_type_2[8] = { 9, 7, 6, 8, 5, 4, 3, 2 }; | 63 static const uint8_t corrector_type_2[8] = { 9, 7, 6, 8, 5, 4, 3, 2 }; |
64 | 64 |
65 static av_cold void build_modpred(Indeo3DecodeContext *s) | 65 static av_cold void build_modpred(Indeo3DecodeContext *s) |
66 { | 66 { |
67 int i, j; | 67 int i, j; |
68 | 68 |