[Ffmpeg-cvslog] r8633 - trunk/libavcodec/amr.c
diego
subversion
Fri Apr 6 12:37:35 CEST 2007
Author: diego
Date: Fri Apr 6 12:37:34 2007
New Revision: 8633
Modified:
trunk/libavcodec/amr.c
Log:
Return correct decoded size, decoder is called with only one frame at a time.
patch by Benoit Fouet, benoit.fouet purplelabs com
Modified: trunk/libavcodec/amr.c
==============================================================================
--- trunk/libavcodec/amr.c (original)
+++ trunk/libavcodec/amr.c Fri Apr 6 12:37:34 2007
@@ -308,7 +308,7 @@ static int amr_nb_decode_frame(AVCodecCo
}
//Each AMR-frame results in 160 16-bit samples
- *data_size+=160*2;
+ *data_size=160*2;
/* if not homed: check whether current frame is a homing frame */
if (s->reset_flag_old == 0)
More information about the ffmpeg-cvslog
mailing list