Commit 1993da77 authored by Jean-Paul Saman's avatar Jean-Paul Saman

dr_a1.c: Indentation

parent 16257a3a
...@@ -110,23 +110,24 @@ dvbpsi_descriptor_t* dvbpsi_GenServiceLocationDr( ...@@ -110,23 +110,24 @@ dvbpsi_descriptor_t* dvbpsi_GenServiceLocationDr(
p_data[2] = p_decoded->i_number_elements; p_data[2] = p_decoded->i_number_elements;
p_data += 3; p_data += 3;
for (uint8_t i = 0; i < p_decoded->i_number_elements; ++i) { for (uint8_t i = 0; i < p_decoded->i_number_elements; ++i)
dvbpsi_service_location_element_t p_es = p_decoded->elements[i]; {
uint8_t* p_es_data = p_data; dvbpsi_service_location_element_t p_es = p_decoded->elements[i];
p_es_data[0] = p_es.i_stream_type; uint8_t* p_es_data = p_data;
p_es_data[1] = p_es.i_elementary_pid >> 8; p_es_data[0] = p_es.i_stream_type;
p_es_data[2] = p_es.i_elementary_pid; p_es_data[1] = p_es.i_elementary_pid >> 8;
p_es_data[3] = p_es.i_iso_639_code[0]; p_es_data[2] = p_es.i_elementary_pid;
p_es_data[4] = p_es.i_iso_639_code[1]; p_es_data[3] = p_es.i_iso_639_code[0];
p_es_data[5] = p_es.i_iso_639_code[2]; p_es_data[4] = p_es.i_iso_639_code[1];
p_es_data[5] = p_es.i_iso_639_code[2];
p_data += 6;
p_data += 6;
} }
if (b_duplicate) if (b_duplicate)
{ {
p_descriptor->p_decoded = dvbpsi_DuplicateDecodedDescriptor(p_decoded, p_descriptor->p_decoded = dvbpsi_DuplicateDecodedDescriptor(p_decoded,
sizeof(dvbpsi_service_location_dr_t)); sizeof(dvbpsi_service_location_dr_t));
} }
return p_descriptor; return p_descriptor;
......
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