aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-04-17 19:48:02 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-04-17 19:48:02 +0000
commit4c63c597d82c49c980945a633686ab6ffa368b7d (patch)
tree96c7c51f574f687671c33ff67100df9fdaa24a83 /libavcodec/alac.c
parentdb08882e741d746739086a094dc48f390fbbe29b (diff)
downloadffmpeg-4c63c597d82c49c980945a633686ab6ffa368b7d.tar.gz
10l: my last commit broke compilation and introduced warnings
Originally committed as revision 12883 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c8
1 files 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);