Commit 71733b21 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Also accept 0x46 as descriptor tag when decoding. For encoding we will need...

* Also accept 0x46 as descriptor tag when decoding. For encoding we will need to add a new param to the descriptor struct.
parent d97f7e76
...@@ -51,9 +51,9 @@ dvbpsi_teletext_dr_t * dvbpsi_DecodeTeletextDr( ...@@ -51,9 +51,9 @@ dvbpsi_teletext_dr_t * dvbpsi_DecodeTeletextDr(
dvbpsi_teletext_dr_t * p_decoded; dvbpsi_teletext_dr_t * p_decoded;
/* Check the tag */ /* Check the tag */
if(p_descriptor->i_tag != 0x56) if(p_descriptor->i_tag != 0x56 || p_descriptor->i_tag != 0x46)
{ {
DVBPSI_ERROR_ARG("dr_56 decoder", "bad tag (0x%x)", p_descriptor->i_tag); DVBPSI_ERROR_ARG("dr_46/56 decoder", "bad tag (0x%x)", p_descriptor->i_tag);
return NULL; return NULL;
} }
......
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