diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-02-23 14:23:55 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-02-23 14:23:55 +0100 |
commit | da2c8fa2e29831f7729c1025ba54df0039a3f895 (patch) | |
tree | db8b51a858e2eddeb5a8c84902c6cbd67ddd1172 | |
parent | dfb5ab3d63c3c96b774f660c4fa3a25c095bd690 (diff) | |
download | v4l-utils-da2c8fa2e29831f7729c1025ba54df0039a3f895.tar.gz |
libdvbv5: fix a typo
descriptior->descriptor
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r-- | lib/include/libdvbv5/descriptors.h | 11 | ||||
-rw-r--r-- | lib/libdvbv5/descriptors.c | 4 | ||||
-rw-r--r-- | lib/libdvbv5/dvb-file.c | 2 |
3 files changed, 12 insertions, 5 deletions
diff --git a/lib/include/libdvbv5/descriptors.h b/lib/include/libdvbv5/descriptors.h index cb21470c..7029954f 100644 --- a/lib/include/libdvbv5/descriptors.h +++ b/lib/include/libdvbv5/descriptors.h @@ -509,7 +509,7 @@ extern const struct dvb_descriptor dvb_descriptors[]; * @brief CA_contract_information descriptor - ABNT NBR 15603-1 2007 * @var CA_service_descriptor * @brief CA_service descriptor - ABNT NBR 15603-1 2007 - * @var TS_Information_descriptior + * @var TS_Information_descriptor * @brief transport_stream_information descriptor - ABNT NBR 15603-1 2007 * @var extended_broadcaster_descriptor * @brief extended_broadcaster descriptor - ABNT NBR 15603-1 2007 @@ -725,7 +725,7 @@ enum descriptors { CA_EMM_TS_descriptor = 0xca, CA_contract_information_descriptor = 0xcb, CA_service_descriptor = 0xcc, - TS_Information_descriptior = 0xcd, + TS_Information_descriptor = 0xcd, extended_broadcaster_descriptor = 0xce, logo_transmission_descriptor = 0xcf, basic_local_event_descriptor = 0xd0, @@ -768,6 +768,13 @@ enum descriptors { atsc_genre_descriptor = 0xab, }; + +/* + * NOTE: this is here just to avoid API break. There was a typo + * on the name of this descriptor + */ +#define TS_Information_descriptior TS_Information_descriptor + /* Please see desc_extension.h for extension_descriptor types */ #endif diff --git a/lib/libdvbv5/descriptors.c b/lib/libdvbv5/descriptors.c index 9ba1a341..f53f48a5 100644 --- a/lib/libdvbv5/descriptors.c +++ b/lib/libdvbv5/descriptors.c @@ -1074,8 +1074,8 @@ const struct dvb_descriptor dvb_descriptors[] = { .free = NULL, .size = 0, }, - [TS_Information_descriptior] = { - .name = "TS_Information_descriptior", + [TS_Information_descriptor] = { + .name = "TS_Information_descriptor", .init = dvb_desc_ts_info_init, .print = dvb_desc_ts_info_print, .free = dvb_desc_ts_info_free, diff --git a/lib/libdvbv5/dvb-file.c b/lib/libdvbv5/dvb-file.c index 4a004284..7bc8ea97 100644 --- a/lib/libdvbv5/dvb-file.c +++ b/lib/libdvbv5/dvb-file.c @@ -1004,7 +1004,7 @@ static char *dvb_vchannel(struct dvb_v5_fe_parms_priv *parms, } } - dvb_desc_find(struct dvb_desc_ts_info, desc, nit, TS_Information_descriptior) { + dvb_desc_find(struct dvb_desc_ts_info, desc, nit, TS_Information_descriptor) { const struct dvb_desc_ts_info *d = (const void *) desc; const struct dvb_desc_ts_info_transmission_type *t; int r; |