Commit 26ae73ad authored by Laurent Aimar's avatar Laurent Aimar

Fixed SPS parsing when scaling matrices are present (h264).

It partially closes #3161.
parent 62ce5206
......@@ -831,7 +831,7 @@ static void PutSPS( decoder_t *p_dec, block_t *p_frag )
if( i_nextscale != 0 )
{
/* delta_scale */
i_tmp = bs_read( &s, 1 );
i_tmp = bs_read_se( &s );
i_nextscale = ( i_lastscale + i_tmp + 256 ) % 256;
/* useDefaultScalingMatrixFlag = ... */
}
......
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