mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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:
parent
85893aad63
commit
371c5cc4db
1 changed files with 2 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue