msm: vidc: Limit HEIF encode changes to Encode path

Limit calling get_hal_codec() only in Encoding usecase.
Otherwise, it leads to error log in video decode usecase.

CRs-Fixed: 2248840
Change-Id: I25425423a9d5f36584c4ef00e0dedb124aaf941a
Signed-off-by: Santhosh Behara <santhoshbehara@codeaurora.org>
1 file changed