shorten: fix cmd type
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Aug 2012 07:24:34 +0000 (09:24 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 6 Aug 2012 07:24:59 +0000 (09:24 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/shorten.c

index 66261d2..b47e1a6 100644 (file)
@@ -466,7 +466,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data,
 
     s->cur_chan = 0;
     while (s->cur_chan < s->channels) {
-        int cmd;
+        unsigned int cmd;
         int len;
 
         if (get_bits_left(&s->gb) < 3+FNSIZE) {