Commit bc903a96 authored by Jean-Paul Saman's avatar Jean-Paul Saman

dr_54.h: fix typo in define DVBPSI_GetContentCategoryFromType

parent d55efb20
...@@ -1064,7 +1064,7 @@ static void DumpContentDescriptor(dvbpsi_content_dr_t *p_content_descriptor) ...@@ -1064,7 +1064,7 @@ static void DumpContentDescriptor(dvbpsi_content_dr_t *p_content_descriptor)
for(int i = 0; i < p_content_descriptor->i_contents_number; i++) for(int i = 0; i < p_content_descriptor->i_contents_number; i++)
{ {
int i_type = p_content_descriptor->p_content[i].i_type; int i_type = p_content_descriptor->p_content[i].i_type;
int i_category = DVDPSI_GetContentCategoryFromType(i_type); int i_category = DVBPSI_GetContentCategoryFromType(i_type);
printf("\t\tcategory: %s\n", content_category[i_category].p_category); printf("\t\tcategory: %s\n", content_category[i_category].p_category);
printf("\t\tsub category: %s\n", GetContentSubCategory(i_type)); printf("\t\tsub category: %s\n", GetContentSubCategory(i_type));
......
...@@ -35,11 +35,11 @@ extern "C" { ...@@ -35,11 +35,11 @@ extern "C" {
#endif #endif
/*! /*!
* \def DVDPSI_GetContentCategoryFromType * \def DVBPSI_GetContentCategoryFromType
* \brief Extract content category by type. The value 'type' includes the * \brief Extract content category by type. The value 'type' includes the
* content category (MSB) and content detail (LSB). * content category (MSB) and content detail (LSB).
*/ */
#define DVDPSI_GetContentCategoryFromType(type) ((type) >> 4) #define DVBPSI_GetContentCategoryFromType(type) ((type) >> 4)
/*! /*!
* \def L1L2MERGE * \def L1L2MERGE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment