Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 05e161952954acf247e0fd1fdef00559675c4d4d)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -57,7 +57,7 @@ typedef struct { |
57 | 57 |
|
58 | 58 |
static inline int64_t bs_get_v(const uint8_t **bs) |
59 | 59 |
{ |
60 |
- int64_t v = 0; |
|
60 |
+ uint64_t v = 0; |
|
61 | 61 |
int br = 0; |
62 | 62 |
int c; |
63 | 63 |
|
... | ... |
@@ -108,7 +108,7 @@ static int mpc8_probe(AVProbeData *p) |
108 | 108 |
|
109 | 109 |
static inline int64_t gb_get_v(GetBitContext *gb) |
110 | 110 |
{ |
111 |
- int64_t v = 0; |
|
111 |
+ uint64_t v = 0; |
|
112 | 112 |
int bits = 0; |
113 | 113 |
while(get_bits1(gb) && bits < 64-7){ |
114 | 114 |
v <<= 7; |