Commit 4c5728df authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

subsdec: Fix operators precedence

parent 98391d59
...@@ -709,7 +709,7 @@ static char* ConsumeAttribute( const char** ppsz_subtitle, char** psz_attribute_ ...@@ -709,7 +709,7 @@ static char* ConsumeAttribute( const char** ppsz_subtitle, char** psz_attribute_
return NULL; return NULL;
} }
strncpy( *psz_attribute_value, psz_subtitle - attr_len, attr_len ); strncpy( *psz_attribute_value, psz_subtitle - attr_len, attr_len );
*psz_attribute_value[attr_len] = 0; (*psz_attribute_value)[attr_len] = 0;
*ppsz_subtitle = psz_subtitle; *ppsz_subtitle = psz_subtitle;
return psz_attribute_name; return psz_attribute_name;
} }
......
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