From 5b0b5ecf60901e953071e8349ff79e075c2592c3 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 14 Nov 2007 08:22:15 +0000 Subject: Fix nellymoser decode_tag return value, patch by Stefano Sabatini Originally committed as revision 11018 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/nellymoserdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/nellymoserdec.c') diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index a9f04a1887..7679f25c2c 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -390,7 +390,7 @@ static int decode_tag(AVCodecContext * avctx, *data_size += NELLY_SAMPLES*sizeof(int16_t); } - return blocks*NELLY_SAMPLES*sizeof(int16_t); + return buf_size; } static int decode_end(AVCodecContext * avctx) { -- cgit v1.2.3