Merge changes from topic "am-8231d92f-aea1-4f7d-b84c-789126fb6fa2" into oc-dev am: 3fffe3c300 am: 5759ea0b59 am: 57cd27cc9b

am: bbb7fefdb4

Change-Id: I7d4da74c75eae0c1e111b8778bea2ddb0390ab31
This commit is contained in:
Android Build Merger (Role) 2018-02-01 00:51:53 +00:00 committed by android-build-merger
commit 39618eb5b7

View file

@ -30,6 +30,8 @@
* \author AI
**************************************************************************
*/
#include <string.h>
#include "ih264_typedefs.h"
#include "ih264_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;
memset(ps_seq, 0, sizeof(dec_seq_params_t));
if(ps_dec->i4_header_decoded & 1)
{
*ps_seq = *ps_dec->ps_cur_sps;