Stream address passed by MFC_ENC_EXE is an offset from start of
mmap region, so add pCTX->mapped_addr to it to get the correct address. Change-Id: I2362cb8fefaa875481449c827fe9561b096ca19b
This commit is contained in:
parent
9a3c5033aa
commit
5bb832997a
@ -357,7 +357,7 @@ SSBSIP_MFC_ERROR_CODE SsbSipMfcEncInit(void *openHandle, void *param)
|
||||
return MFC_RET_ENC_INIT_FAIL;
|
||||
}
|
||||
|
||||
pCTX->virStrmBuf = EncArg.args.enc_init.cmn.out_u_addr.strm_ref_y;
|
||||
pCTX->virStrmBuf = EncArg.args.enc_init.cmn.out_u_addr.strm_ref_y + pCTX->mapped_addr;
|
||||
pCTX->phyStrmBuf = EncArg.args.enc_init.cmn.out_p_addr.strm_ref_y;
|
||||
pCTX->sizeStrmBuf = MAX_ENCODER_OUTPUT_BUFFER_SIZE;
|
||||
pCTX->encodedHeaderSize = EncArg.args.enc_init.cmn.out_header_size;
|
||||
|
Loading…
Reference in New Issue
Block a user