From 4c63c597d82c49c980945a633686ab6ffa368b7d Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Thu, 17 Apr 2008 19:48:02 +0000 Subject: [PATCH] 10l: my last commit broke compilation and introduced warnings Originally committed as revision 12883 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/alac.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 9ec8ed89af..288558dfdb 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -114,18 +114,16 @@ static int alac_set_info(ALACContext *alac) /* buffer size / 2 ? */ alac->setinfo_max_samples_per_frame = bytestream_get_be32(&ptr); - *ptr++; /* ??? */ + ptr++; /* ??? */ alac->setinfo_sample_size = *ptr++; alac->setinfo_rice_historymult = *ptr++; alac->setinfo_rice_initialhistory = *ptr++; alac->setinfo_rice_kmodifier = *ptr++; - *ptr++; /* channels? */ + ptr++; /* channels? */ bytestream_get_be16(&ptr); /* ??? */ bytestream_get_be32(&ptr); /* max coded frame size */ bytestream_get_be32(&ptr); /* bitrate ? */ - - /* samplerate */ - alac->setinfo_8a_rate = bytestream_get_be32(&ptr); + bytestream_get_be32(&ptr); /* samplerate */ allocate_buffers(alac);