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

examples/decode_mpeg.c: fix indentation (CID 17260)

parent b31554e8
...@@ -460,33 +460,33 @@ static void DumpSubtitleDescriptor(dvbpsi_subtitling_dr_t* p_subtitle_descriptor ...@@ -460,33 +460,33 @@ static void DumpSubtitleDescriptor(dvbpsi_subtitling_dr_t* p_subtitle_descriptor
*****************************************************************************/ *****************************************************************************/
static void DumpDescriptors(const char* str, dvbpsi_descriptor_t* p_descriptor) static void DumpDescriptors(const char* str, dvbpsi_descriptor_t* p_descriptor)
{ {
int i; int i;
while(p_descriptor) while(p_descriptor)
{ {
fprintf( stderr, "%s 0x%02x : ", str, p_descriptor->i_tag); fprintf( stderr, "%s 0x%02x : ", str, p_descriptor->i_tag);
switch (p_descriptor->i_tag) switch (p_descriptor->i_tag)
{ {
case SYSTEM_CLOCK_DR: case SYSTEM_CLOCK_DR:
DumpSystemClockDescriptor(dvbpsi_DecodeSystemClockDr(p_descriptor)); DumpSystemClockDescriptor(dvbpsi_DecodeSystemClockDr(p_descriptor));
break; break;
case MAX_BITRATE_DR: case MAX_BITRATE_DR:
DumpMaxBitrateDescriptor(dvbpsi_DecodeMaxBitrateDr(p_descriptor)); DumpMaxBitrateDescriptor(dvbpsi_DecodeMaxBitrateDr(p_descriptor));
break; break;
case STREAM_IDENTIFIER_DR: case STREAM_IDENTIFIER_DR:
DumpStreamIdentifierDescriptor(dvbpsi_DecodeStreamIdentifierDr(p_descriptor)); DumpStreamIdentifierDescriptor(dvbpsi_DecodeStreamIdentifierDr(p_descriptor));
break; break;
case SUBTITLING_DR: case SUBTITLING_DR:
DumpSubtitleDescriptor(dvbpsi_DecodeSubtitlingDr(p_descriptor)); DumpSubtitleDescriptor(dvbpsi_DecodeSubtitlingDr(p_descriptor));
break; break;
default: default:
fprintf( stderr, "\""); fprintf( stderr, "\"");
for(i = 0; i < p_descriptor->i_length; i++) for(i = 0; i < p_descriptor->i_length; i++)
fprintf( stderr, "%c", p_descriptor->p_data[i]); fprintf( stderr, "%c", p_descriptor->p_data[i]);
fprintf( stderr, "\"\n"); fprintf( stderr, "\"\n");
} }
p_descriptor = p_descriptor->p_next; p_descriptor = p_descriptor->p_next;
} }
} }
/***************************************************************************** /*****************************************************************************
......
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