[FFmpeg-soc] [soc]: r1008 - qcelp/qcelpdec.c

reynaldo subversion at mplayerhq.hu
Sun Aug 19 06:39:39 CEST 2007


Author: reynaldo
Date: Sun Aug 19 06:39:39 2007
New Revision: 1008

Log:
Normalize playback speed, guess datasize was in bytes -- not samples :)

Modified:
   qcelp/qcelpdec.c

Modified: qcelp/qcelpdec.c
==============================================================================
--- qcelp/qcelpdec.c	(original)
+++ qcelp/qcelpdec.c	Sun Aug 19 06:39:39 2007
@@ -945,7 +945,7 @@ static int qcelp_decode_frame(AVCodecCon
     memcpy(q->prev_lspf, qtzd_lspf, 10*sizeof(float));
 
     q->frame_num++;
-    *data_size=160;
+    *data_size=160*2;
 
     return *data_size;
 }



More information about the FFmpeg-soc mailing list