diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-09-01 14:33:54 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-09-01 14:33:54 +0000 |
commit | 2988c93d94d857da609f366db82b624a91ff9b4c (patch) | |
tree | 9038c03b1a91bc622d73463bea80e18f7fb2718a /libavcodec/ac3dec.c | |
parent | 5f86057ffd534abb42fada9f0abf88409f6b51d2 (diff) | |
download | ffmpeg-streaming-2988c93d94d857da609f366db82b624a91ff9b4c.zip ffmpeg-streaming-2988c93d94d857da609f366db82b624a91ff9b4c.tar.gz |
create a separate codec_id for E-AC-3
Originally committed as revision 15143 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 1432ff0..1a22126 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1288,5 +1288,16 @@ AVCodec ac3_decoder = { .init = ac3_decode_init, .close = ac3_decode_end, .decode = ac3_decode_frame, - .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52 (AC-3, E-AC-3)"), + .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"), +}; + +AVCodec eac3_decoder = { + .name = "eac3", + .type = CODEC_TYPE_AUDIO, + .id = CODEC_ID_EAC3, + .priv_data_size = sizeof (AC3DecodeContext), + .init = ac3_decode_init, + .close = ac3_decode_end, + .decode = ac3_decode_frame, + .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52B (AC-3, E-AC-3)"), }; |