[FFmpeg-soc] [soc]: r1166 - eac3/eac3dec.c

bwolowiec subversion at mplayerhq.hu
Thu Aug 23 11:02:08 CEST 2007


Author: bwolowiec
Date: Thu Aug 23 11:02:08 2007
New Revision: 1166

Log:
fix return value


Modified:
   eac3/eac3dec.c

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Thu Aug 23 11:02:08 2007
@@ -1376,7 +1376,7 @@ static int eac3_decode_frame(AVCodecCont
 
     *data_size = ff_eac3_blocks[c->numblkscod] * 256 * avctx->channels * sizeof (int16_t); // TODO is ok?
 
-    return buf_size;
+    return (c->frmsiz+1)*2;
 }
 
 static int eac3_decode_init(AVCodecContext *avctx){



More information about the FFmpeg-soc mailing list