[FFmpeg-cvslog] r13111 - trunk/libavcodec/alac.c

jbr subversion
Sun May 11 06:25:36 CEST 2008


Author: jbr
Date: Sun May 11 06:25:34 2008
New Revision: 13111

Log:
fix reading of frames-per-sample

Modified:
   trunk/libavcodec/alac.c

Modified: trunk/libavcodec/alac.c
==============================================================================
--- trunk/libavcodec/alac.c	(original)
+++ trunk/libavcodec/alac.c	Sun May 11 06:25:34 2008
@@ -457,7 +457,7 @@ static int alac_decode_frame(AVCodecCont
 
     if (hassize) {
         /* now read the number of samples as a 32bit integer */
-        outputsamples = get_bits(&alac->gb, 32);
+        outputsamples = get_bits_long(&alac->gb, 32);
         if(outputsamples > alac->setinfo_max_samples_per_frame){
             av_log(avctx, AV_LOG_ERROR, "outputsamples %d > %d\n", outputsamples, alac->setinfo_max_samples_per_frame);
             return -1;




More information about the ffmpeg-cvslog mailing list