From 8c73f3605134caa3fc99260cc7c6a3353fc7f5f8 Mon Sep 17 00:00:00 2001 From: bai-isaac Date: Fri, 13 Oct 2023 10:00:21 +0800 Subject: [PATCH] [Encode] fix slc header size issue fix slc header size issue. --- .../linux/common/codec/ddi/enc/ddi_encode_avc_specific.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/media_softlet/linux/common/codec/ddi/enc/ddi_encode_avc_specific.cpp b/media_softlet/linux/common/codec/ddi/enc/ddi_encode_avc_specific.cpp index 612186586d5..326ced823ab 100644 --- a/media_softlet/linux/common/codec/ddi/enc/ddi_encode_avc_specific.cpp +++ b/media_softlet/linux/common/codec/ddi/enc/ddi_encode_avc_specific.cpp @@ -1897,9 +1897,6 @@ MOS_STATUS DdiEncodeAvc::CheckPackedSlcHeaderData( *ppOutSlcHdr = NULL; OutBitSize = 0; - if (VAEntrypointEncSliceLP != m_encodeCtx->vaEntrypoint) - return MOS_STATUS_SUCCESS; - if (0 == InBitSize || NULL == pInSlcHdr) return MOS_STATUS_SUCCESS;