[FFmpeg-cvslog] qcelpdec: fix the return value of qcelp_decode_frame().
Chris Rankin
git at videolan.org
Wed Sep 21 21:08:30 CEST 2011
ffmpeg | branch: release/0.8 | Chris Rankin <rankincj at yahoo.com> | Wed Sep 7 10:17:30 2011 +0100| [b0da6a744a4a3d089d9b5ea547e03336a1fe5f2c] | 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=b0da6a744a4a3d089d9b5ea547e03336a1fe5f2c
---
libavcodec/qcelpdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 3ed821c..e83704d 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