Mercurial > libavcodec.hg
comparison ac3enc.c @ 9411:4cb7c65fc775 libavcodec
Split bitstream.h, put the bitstream writer stuff in the new file
put_bits.h.
author | stefano |
---|---|
date | Sun, 12 Apr 2009 08:35:26 +0000 |
parents | 8b977d664424 |
children | 0dce4fe6e6f3 |
comparison
equal
deleted
inserted
replaced
9410:f7bd7e90ef9f | 9411:4cb7c65fc775 |
---|---|
25 */ | 25 */ |
26 //#define DEBUG | 26 //#define DEBUG |
27 //#define DEBUG_BITALLOC | 27 //#define DEBUG_BITALLOC |
28 #include "libavutil/crc.h" | 28 #include "libavutil/crc.h" |
29 #include "avcodec.h" | 29 #include "avcodec.h" |
30 #include "bitstream.h" | 30 #include "bitstream.h" // for ff_reverse |
31 #include "put_bits.h" | |
31 #include "ac3.h" | 32 #include "ac3.h" |
32 | 33 |
33 typedef struct AC3EncodeContext { | 34 typedef struct AC3EncodeContext { |
34 PutBitContext pb; | 35 PutBitContext pb; |
35 int nb_channels; | 36 int nb_channels; |