# HG changeset patch # User romansh # Date 1219868891 0 # Node ID 6f3cdf5fb94859b052284b34037c0d918194e1bb # Parent 33a94467ea2be83c3b4025dd68ffcec2b2e29646 Two cosmetic changes for improved readability and ease of HDVCPRO HD integration diff -r 33a94467ea2b -r 6f3cdf5fb948 dv.c --- a/dv.c Wed Aug 27 19:58:55 2008 +0000 +++ b/dv.c Wed Aug 27 20:28:11 2008 +0000 @@ -192,7 +192,7 @@ smpls = as_pack[1] & 0x3f; /* samples in this frame - min. samples */ freq = (as_pack[4] >> 3) & 0x07; /* 0 - 48KHz, 1 - 44,1kHz, 2 - 32 kHz */ - stype = (as_pack[3] & 0x1f); /* 0 - 2CH, 2 - 4CH */ + stype = (as_pack[3] & 0x1f); /* 0 - 2CH, 2 - 4CH, 3 - 8CH */ quant = as_pack[4] & 0x07; /* 0 - 16bit linear, 1 - 12bit nonlinear */ /* note: ach counts PAIRS of channels (i.e. stereo channels) */ @@ -276,7 +276,7 @@ c->sys = NULL; c->fctx = s; - c->ast[0] = c->ast[1] = NULL; + memset(c->ast, 0, sizeof(c->ast)); c->ach = 0; c->frames = 0; c->abytes = 0;