summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/snow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/snow.h b/libavcodec/snow.h
index 59c710b5f9..f7ed1f82e7 100644
--- a/libavcodec/snow.h
+++ b/libavcodec/snow.h
@@ -540,7 +540,8 @@ static inline int get_symbol(RangeCoder *c, uint8_t *state, int is_signed){
if(get_rac(c, state+0))
return 0;
else{
- int i, e, a;
+ int i, e;
+ unsigned a;
e= 0;
while(get_rac(c, state+1 + FFMIN(e,9))){ //1..10
e++;