Browse Source

* examples/dvb_print_si.c: Fix typo in printf.

master
Christophe Massiot 13 years ago
parent
commit
23757cdcb9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      examples/dvb_print_si.c

+ 2
- 2
examples/dvb_print_si.c View File

@ -297,7 +297,7 @@ static void handle_pmt(uint16_t i_pid, uint8_t *p_pmt)
if (i == i_nb_sids) { if (i == i_nb_sids) {
switch (i_print_type) { switch (i_print_type) {
case PRINT_XML: case PRINT_XML:
printf("<ERROR type=\"ghost_pmt\" program=\"%hu\n pid=\"%hu\"/>\n",
printf("<ERROR type=\"ghost_pmt\" program=\"%hu\" pid=\"%hu\"/>\n",
i_sid, i_pid); i_sid, i_pid);
break; break;
default: default:
@ -315,7 +315,7 @@ static void handle_pmt(uint16_t i_pid, uint8_t *p_pmt)
if (i_pid != p_sid->i_pmt_pid) { if (i_pid != p_sid->i_pmt_pid) {
switch (i_print_type) { switch (i_print_type) {
case PRINT_XML: case PRINT_XML:
printf("<ERROR type=\"ghost_pmt\" program=\"%hu\n pid=\"%hu\"/>\n",
printf("<ERROR type=\"ghost_pmt\" program=\"%hu\" pid=\"%hu\"/>\n",
i_sid, i_pid); i_sid, i_pid);
break; break;
default: default:

Loading…
Cancel
Save