diff --git a/services/engine/gstreamer/plugins/codec/hdi_plugins/hdi_init.cpp b/services/engine/gstreamer/plugins/codec/hdi_plugins/hdi_init.cpp index 6d15b22882a3376168c283ecfd3079516b6cf008..83142bf7fd5d961335eb9d51533efc19cd711417 100644 --- a/services/engine/gstreamer/plugins/codec/hdi_plugins/hdi_init.cpp +++ b/services/engine/gstreamer/plugins/codec/hdi_plugins/hdi_init.cpp @@ -173,7 +173,6 @@ std::map> HdiInit::GetH264ProfileLevels(CodecCompC { std::map> profileLevelsMap; int32_t index = 0; - std::vector formats; while (index < PROFILE_NUM && hdiCap.supportProfiles[index] > 0) { if (AVC_PROFILE_MAP.find(hdiCap.supportProfiles[index]) == AVC_PROFILE_MAP.end()) { MEDIA_LOGW("Unknow profile %{public}d", hdiCap.supportProfiles[index]);