summaryrefslogtreecommitdiff
path: root/libavcodec/nellymoserdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/nellymoserdec.c')
-rw-r--r--libavcodec/nellymoserdec.c2
1 files changed, 1 insertions, 1 deletions
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) {