changeset 4789:bf62c8a0d2fb libavcodec

Return correct decoded size, decoder is called with only one frame at a time. patch by Benoit Fouet, benoit.fouet purplelabs com
author diego
date Fri, 06 Apr 2007 10:37:34 +0000
parents ded34b64b01a
children 2b825cb391f2
files amr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)