Browse Source

auxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)

Originally committed as revision 2800 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 22 years ago
parent
commit
9ab2717a9d
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/ac3enc.c

+ 3
- 0
libavcodec/ac3enc.c View File

@@ -735,6 +735,9 @@ static int compute_bit_allocation(AC3EncodeContext *s,
/* (fsnoffset[4] + fgaincod[4]) * c */ /* (fsnoffset[4] + fgaincod[4]) * c */
frame_bits += 2*4 + 3 + 6 + s->nb_all_channels * (4 + 3); frame_bits += 2*4 + 3 + 6 + s->nb_all_channels * (4 + 3);


/* auxdatae, crcrsv */
frame_bits += 2;

/* CRC */ /* CRC */
frame_bits += 16; frame_bits += 16;




Loading…
Cancel
Save