Commit 7252bc09 authored by Jean-Paul Saman's avatar Jean-Paul Saman

descriptors/dr_7c.c: clang compatibility

Use explicite parenthesis around ? : constructions.
parent 09430490
......@@ -245,7 +245,7 @@ dvbpsi_aac_dr_t *dvbpsi_DecodeAACDr(dvbpsi_descriptor_t *p_descriptor)
/* Keep additional info bytes field */
if (p_descriptor->i_length > 1)
{
uint8_t i_info_length = p_descriptor->i_length - p_decoded->b_type ? 3 : 2;
uint8_t i_info_length = p_descriptor->i_length - (p_decoded->b_type ? 3 : 2);
dvbpsi_aac_dr_t *p_tmp = realloc(p_decoded, sizeof(dvbpsi_aac_dr_t) + i_info_length);
if (!p_tmp)
{
......
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