summaryrefslogtreecommitdiff
path: root/libavcodec/nellymoserdec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2007-11-14 08:22:15 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2007-11-14 08:22:15 +0000
commit5b0b5ecf60901e953071e8349ff79e075c2592c3 (patch)
tree62dfb7e738cc6cf736f63910c73a7b8ca56464e9 /libavcodec/nellymoserdec.c
parent6b7089044aff5eaa7012df06dc336df7a7a38471 (diff)
Fix nellymoser decode_tag return value, patch by Stefano Sabatini
Originally committed as revision 11018 to svn://svn.ffmpeg.org/ffmpeg/trunk
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) {