aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2003-02-10 09:35:32 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2003-02-10 09:35:32 +0000
commit5c91a6755b6412c918e20ff4735ca30f38a12569 (patch)
tree054521cdfc6d752e89883ef3fcfc05d6c31fd94c /libavcodec/mpegaudiodec.c
parentcd66005ddaebba2d6cb3b4eae75f70ae2446b204 (diff)
downloadffmpeg-5c91a6755b6412c918e20ff4735ca30f38a12569.tar.gz
* static,const,compiler warning cleanup
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 9a066c905b..4a8f87410b 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -348,7 +348,8 @@ static int decode_init(AVCodecContext * avctx)
huff_code_table[0] = NULL;
for(i=1;i<16;i++) {
const HuffTable *h = &mpa_huff_tables[i];
- int xsize, n, x, y;
+ int xsize, x, y;
+ unsigned int n;
UINT8 *code_table;
xsize = h->xsize;
@@ -1448,7 +1449,7 @@ static int mp_decode_layer2(MPADecodeContext *s)
/*
* Seek back in the stream for backstep bytes (at most 511 bytes)
*/
-static void seek_to_maindata(MPADecodeContext *s, long backstep)
+static void seek_to_maindata(MPADecodeContext *s, unsigned int backstep)
{
UINT8 *ptr;