From e8567bf0676ff40eca6f75237e7df8fc0fc4e455 Mon Sep 17 00:00:00 2001 From: jeanlf Date: Thu, 8 Apr 2021 10:09:46 +0200 Subject: [PATCH] [PATCH] fixed #1734 Gbp-Pq: Name CVE-2021-31257.patch --- applications/mp4box/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/mp4box/main.c b/applications/mp4box/main.c index 7871248..99c8bf9 100644 --- a/applications/mp4box/main.c +++ b/applications/mp4box/main.c @@ -1296,7 +1296,7 @@ GF_Err HintFile(GF_ISOFile *file, u32 MTUSize, u32 max_ptime, u32 rtp_rate, u32 streamType = 0; esd = gf_isom_get_esd(file, i+1, 1); - if (esd) { + if (esd && esd->decoderConfig) { streamType = esd->decoderConfig->streamType; if (!prev_ocr) { prev_ocr = esd->OCRESID; -- 2.30.2