diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2007-11-14 08:22:15 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2007-11-14 08:22:15 +0000 |
commit | 5b0b5ecf60901e953071e8349ff79e075c2592c3 (patch) | |
tree | 62dfb7e738cc6cf736f63910c73a7b8ca56464e9 /libavcodec | |
parent | 6b7089044aff5eaa7012df06dc336df7a7a38471 (diff) | |
download | ffmpeg-5b0b5ecf60901e953071e8349ff79e075c2592c3.tar.gz |
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')
-rw-r--r-- | libavcodec/nellymoserdec.c | 2 |
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) { |