[FFmpeg-soc] [soc]: r1733 - eac3/ac3dec.c
jbr
subversion at mplayerhq.hu
Mon Dec 31 04:54:01 CET 2007
Author: jbr
Date: Mon Dec 31 04:54:01 2007
New Revision: 1733
Log:
set data size to zero at start of frame decode
Modified:
eac3/ac3dec.c
Modified: eac3/ac3dec.c
==============================================================================
--- eac3/ac3dec.c (original)
+++ eac3/ac3dec.c Mon Dec 31 04:54:01 2007
@@ -980,6 +980,7 @@ static int ac3_decode_frame(AVCodecConte
init_get_bits(&s->gbc, buf, buf_size * 8);
/* parse the syncinfo */
+ *data_size = 0;
err = ff_ac3_parse_frame_header(s);
if(err) {
switch(err) {
More information about the FFmpeg-soc
mailing list