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

dvbpsi.c: constify bool in dvbpsi_packet_push()

parent 1154dee6
...@@ -274,7 +274,7 @@ bool dvbpsi_packet_push(dvbpsi_t *p_dvbpsi, const uint8_t* p_data) ...@@ -274,7 +274,7 @@ bool dvbpsi_packet_push(dvbpsi_t *p_dvbpsi, const uint8_t* p_data)
} }
/* Continuity check */ /* Continuity check */
bool b_first = (p_decoder->i_continuity_counter == DVBPSI_INVALID_CC); const bool b_first = (p_decoder->i_continuity_counter == DVBPSI_INVALID_CC);
if (b_first) if (b_first)
p_decoder->i_continuity_counter = p_data[3] & 0xf; p_decoder->i_continuity_counter = p_data[3] & 0xf;
else else
......
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