comparison ac3dec.c @ 7769:e5f7a43f63ae libavcodec

create a separate codec_id for E-AC-3
author jbr
date Mon, 01 Sep 2008 14:33:54 +0000
parents 2994fe74068f
children 8195c970d077
comparison
equal deleted inserted replaced
7768:152573e499c9 7769:e5f7a43f63ae
1286 .id = CODEC_ID_AC3, 1286 .id = CODEC_ID_AC3,
1287 .priv_data_size = sizeof (AC3DecodeContext), 1287 .priv_data_size = sizeof (AC3DecodeContext),
1288 .init = ac3_decode_init, 1288 .init = ac3_decode_init,
1289 .close = ac3_decode_end, 1289 .close = ac3_decode_end,
1290 .decode = ac3_decode_frame, 1290 .decode = ac3_decode_frame,
1291 .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52 (AC-3, E-AC-3)"), 1291 .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
1292 }; 1292 };
1293
1294 AVCodec eac3_decoder = {
1295 .name = "eac3",
1296 .type = CODEC_TYPE_AUDIO,
1297 .id = CODEC_ID_EAC3,
1298 .priv_data_size = sizeof (AC3DecodeContext),
1299 .init = ac3_decode_init,
1300 .close = ac3_decode_end,
1301 .decode = ac3_decode_frame,
1302 .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52B (AC-3, E-AC-3)"),
1303 };