msm:vidc: Initialize meta buffer header during secure session
Meta buffer header initialization is required if we process extradata in secure playback. Change-Id: Ic8a068e99351f2c970643200d03b1a580ead7480 Signed-off-by: Deepak Verma <dverma@codeaurora.org>
This commit is contained in:
committed by
Stephen Boyd
parent
85893aad63
commit
371c5cc4db
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved.
|
||||
/* Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
@@ -198,8 +198,7 @@ u32 ddl_open(u32 **ddl_handle, u32 decoding)
|
||||
ddl->client_state = DDL_CLIENT_OPEN;
|
||||
ddl->codec_data.hdr.decoding = decoding;
|
||||
ddl->decoding = decoding;
|
||||
if (!res_trk_check_for_sec_session())
|
||||
ddl_set_default_meta_data_hdr(ddl);
|
||||
ddl_set_default_meta_data_hdr(ddl);
|
||||
ddl_set_initial_default_values(ddl);
|
||||
*ddl_handle = (u32 *) ddl;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user