diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2007-07-14 16:01:14 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2007-07-14 16:01:14 +0000 |
commit | e6bca37c816d64df3dab022e7f521678b9ab9cb5 (patch) | |
tree | f3cac0a866ac8668894edf5e8d97a61763bb9199 /libavcodec | |
parent | 3ff88ff45a00bb76bbd5b562a083918edbb695ae (diff) | |
download | ffmpeg-e6bca37c816d64df3dab022e7f521678b9ab9cb5.tar.gz |
AC-3 decoder, soc revision 55, Aug 17 12:25:24 2006 UTC by cloud9
Remove more unnecessary headers.
Codec initialization changed to use name => argument notation.
Originally committed as revision 9663 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ac3dec.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 2e1de2e8f3..7e055e79ad 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -24,13 +24,11 @@ #define ALT_BITSTREAM_READER +#include "avcodec.h" #include "ac3tab.h" #include "ac3_decoder.h" -#include "avcodec.h" #include "bitstream.h" #include "dsputil.h" -#include "avutil.h" -#include "common.h" #define N 512 /* constant for IMDCT Block size */ @@ -1979,13 +1977,12 @@ static int ac3_decode_end(AVCodecContext *ctx) } AVCodec lgpl_ac3_decoder = { - "ac3", - CODEC_TYPE_AUDIO, - CODEC_ID_AC3, - sizeof (AC3DecodeContext), - ac3_decode_init, - NULL, - ac3_decode_end, - ac3_decode_frame, + .name = "ac3", + .type = CODEC_TYPE_AUDIO, + .id = CODEC_ID_AC3, + .priv_data_size = sizeof (AC3DecodeContext), + .init = ac3_decode_init, + .close = ac3_decode_end, + .decode = ac3_decode_frame, }; |