[FFmpeg-cvslog] qcelpdec: fix the return value of qcelp_decode_frame().

Chris Rankin git at videolan.org
Thu Sep 8 21:31:23 CEST 2011


ffmpeg | branch: master | Chris Rankin <rankincj at yahoo.com> | Wed Sep  7 10:17:30 2011 +0100| [04c13dca8812e8302686887b6e8201d4ad25b7d8] | committer: Michael Niedermayer

qcelpdec: fix the return value of qcelp_decode_frame().

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=04c13dca8812e8302686887b6e8201d4ad25b7d8
---

 libavcodec/qcelpdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index d565003..96e605e 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -839,7 +839,7 @@ erasure:
 
     *data_size = 160 * sizeof(*outbuffer);
 
-    return *data_size;
+    return buf_size;
 }
 
 AVCodec ff_qcelp_decoder =



More information about the ffmpeg-cvslog mailing list