changeset 5915:4528d63fbc8e libavcodec

Fix nellymoser decode_tag return value, patch by Stefano Sabatini
author banan
date Wed, 14 Nov 2007 08:22:15 +0000
parents f6c430823940
children 353fca09cb72
files nellymoserdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nellymoserdec.c	Tue Nov 13 00:48:24 2007 +0000
+++ b/nellymoserdec.c	Wed Nov 14 08:22:15 2007 +0000
@@ -390,7 +390,7 @@
         *data_size += NELLY_SAMPLES*sizeof(int16_t);
     }
 
-    return blocks*NELLY_SAMPLES*sizeof(int16_t);
+    return buf_size;
 }
 
 static int decode_end(AVCodecContext * avctx) {