# HG changeset patch # User diego # Date 1175855854 0 # Node ID bf62c8a0d2fb27e8c9953685bbedd20fd75b1992 # Parent ded34b64b01aaf5598df36876f1e3edc51945131 Return correct decoded size, decoder is called with only one frame at a time. patch by Benoit Fouet, benoit.fouet purplelabs com diff -r ded34b64b01a -r bf62c8a0d2fb amr.c --- a/amr.c Fri Apr 06 09:59:55 2007 +0000 +++ b/amr.c Fri Apr 06 10:37:34 2007 +0000 @@ -308,7 +308,7 @@ } //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)