Commit ca658076 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Really fix

parent 4b4eeb11
...@@ -563,7 +563,7 @@ static block_t *BlockParseRTP( access_t *p_access, block_t *p_block ) ...@@ -563,7 +563,7 @@ static block_t *BlockParseRTP( access_t *p_access, block_t *p_block )
if ((size_t)p_block->i_buffer < i_skip) if ((size_t)p_block->i_buffer < i_skip)
goto trash; goto trash;
i_skip += 4 * GetWBE( p_block->p_buffer + i_skip + 2 ); i_skip += 4 * GetWBE( p_block->p_buffer + i_skip - 2 );
} }
i_payload_type = p_block->p_buffer[1] & 0x7F; i_payload_type = p_block->p_buffer[1] & 0x7F;
......
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