Merge changes from topic "am-8231d92f-aea1-4f7d-b84c-789126fb6fa2" into cw-e-dev
* changes: [automerger] Decoder: Fixed reset values in parse sps. am:9c32ad7126am:731580450e[automerger] Decoder: Fixed reset values in parse sps. am:9c32ad7126Decoder: Fixed reset values in parse sps.
This commit is contained in:
commit
7ddccbc4ee
1 changed files with 4 additions and 0 deletions
|
|
@ -30,6 +30,8 @@
|
||||||
* \author AI
|
* \author AI
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
*/
|
*/
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "ih264_typedefs.h"
|
#include "ih264_typedefs.h"
|
||||||
#include "ih264_macros.h"
|
#include "ih264_macros.h"
|
||||||
#include "ih264_platform_macros.h"
|
#include "ih264_platform_macros.h"
|
||||||
|
|
@ -564,6 +566,8 @@ WORD32 ih264d_parse_sps(dec_struct_t *ps_dec, dec_bit_stream_t *ps_bitstrm)
|
||||||
/*--------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------*/
|
||||||
|
|
||||||
ps_seq = ps_dec->pv_scratch_sps_pps;
|
ps_seq = ps_dec->pv_scratch_sps_pps;
|
||||||
|
memset(ps_seq, 0, sizeof(dec_seq_params_t));
|
||||||
|
|
||||||
if(ps_dec->i4_header_decoded & 1)
|
if(ps_dec->i4_header_decoded & 1)
|
||||||
{
|
{
|
||||||
*ps_seq = *ps_dec->ps_cur_sps;
|
*ps_seq = *ps_dec->ps_cur_sps;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue