Make bitstream_* fields unsigned.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 18 Jul 2008 11:39:41 +0000 (11:39 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 18 Jul 2008 11:39:41 +0000 (11:39 +0000)
Originally committed as revision 14280 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/flac.c

index 5745210..2d65c11 100644 (file)
@@ -68,8 +68,8 @@ typedef struct FLACContext {
 
     int32_t *decoded[MAX_CHANNELS];
     uint8_t *bitstream;
-    int bitstream_size;
-    int bitstream_index;
+    unsigned int bitstream_size;
+    unsigned int bitstream_index;
     unsigned int allocated_bitstream_size;
 } FLACContext;