changeset 6634:981e2f43ea36 libavcodec

10l: my last commit broke compilation and introduced warnings
author vitor
date Thu, 17 Apr 2008 19:48:02 +0000
parents f1674aac3a1a
children b3d2659c756b
files alac.c
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/alac.c	Thu Apr 17 19:45:14 2008 +0000
+++ b/alac.c	Thu Apr 17 19:48:02 2008 +0000
@@ -114,18 +114,16 @@
 
     /* 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);