projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6dde9c
)
[PATCH] fixed #1734
author
jeanlf
<jeanlf@gpac.io>
Thu, 8 Apr 2021 08:09:46 +0000
(10:09 +0200)
committer
Aron Xu
<aron@debian.org>
Tue, 23 May 2023 11:53:25 +0000
(12:53 +0100)
Gbp-Pq: Name CVE-2021-31257.patch
applications/mp4box/main.c
patch
|
blob
|
history
diff --git
a/applications/mp4box/main.c
b/applications/mp4box/main.c
index 7871248cf31d6b87283b04a28ccee4bdfaec0324..99c8bf9c59b3101dc06c542fc14fff8b8c015d41 100644
(file)
--- 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;