[FFmpeg-soc] [soc]: r1787 - eac3/ac3dec.c
jbr
subversion at mplayerhq.hu
Mon Jan 7 04:36:07 CET 2008
Author: jbr
Date: Mon Jan 7 04:36:07 2008
New Revision: 1787
Log:
do not need to zero private context since it's already allocated with
av_mallocz()
Modified:
eac3/ac3dec.c
Modified: eac3/ac3dec.c
==============================================================================
--- eac3/ac3dec.c (original)
+++ eac3/ac3dec.c Mon Jan 7 04:36:07 2008
@@ -218,8 +218,6 @@ static void ac3_tables_init(void)
static int ac3_decode_init(AVCodecContext *avctx)
{
AC3DecodeContext *s = avctx->priv_data;
-
- memset(s, 0, sizeof(*s));
s->avctx = avctx;
ac3_common_init();
More information about the FFmpeg-soc
mailing list