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

Chris Rankin git at videolan.org
Thu Nov 3 03:57:38 CET 2011


ffmpeg | branch: release/0.5 | Chris Rankin <rankincj at yahoo.com> | Wed Sep  7 10:17:30 2011 +0100| [1415ebf031af502835262752b9325c13da0db70b] | committer: Michael Niedermayer

qcelpdec: fix the return value of qcelp_decode_frame().
(cherry picked from commit 04c13dca8812e8302686887b6e8201d4ad25b7d8)

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

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

diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 59eff1f..3a18470 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -802,7 +802,7 @@ erasure:
 
     *data_size = 160 * sizeof(*outbuffer);
 
-    return *data_size;
+    return buf_size;
 }
 
 AVCodec qcelp_decoder =



More information about the ffmpeg-cvslog mailing list