avcodec/ccaption_dec: use consistent naming convention of Closed Captions

Signed-off-by: Marth64 <marth64@proxyid.net>
This commit is contained in:
Marth64
2024-03-09 12:39:56 -06:00
committed by Stefano Sabatini
parent 8991cedd6a
commit 590b2d6517

View File

@@ -948,7 +948,7 @@ static const AVOption options[] = {
}; };
static const AVClass ccaption_dec_class = { static const AVClass ccaption_dec_class = {
.class_name = "Closed caption Decoder", .class_name = "Closed Captions Decoder",
.item_name = av_default_item_name, .item_name = av_default_item_name,
.option = options, .option = options,
.version = LIBAVUTIL_VERSION_INT, .version = LIBAVUTIL_VERSION_INT,
@@ -956,7 +956,7 @@ static const AVClass ccaption_dec_class = {
const FFCodec ff_ccaption_decoder = { const FFCodec ff_ccaption_decoder = {
.p.name = "cc_dec", .p.name = "cc_dec",
CODEC_LONG_NAME("Closed Caption (EIA-608 / CEA-708)"), CODEC_LONG_NAME("Closed Captions (EIA-608 / CEA-708)"),
.p.type = AVMEDIA_TYPE_SUBTITLE, .p.type = AVMEDIA_TYPE_SUBTITLE,
.p.id = AV_CODEC_ID_EIA_608, .p.id = AV_CODEC_ID_EIA_608,
.p.priv_class = &ccaption_dec_class, .p.priv_class = &ccaption_dec_class,