projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67669c9
)
[PATCH] fixed #1893
author
jeanlf
<jeanlf@gpac.io>
Mon, 30 Aug 2021 14:15:32 +0000
(16:15 +0200)
committer
Aron Xu
<aron@debian.org>
Tue, 23 May 2023 11:53:25 +0000
(12:53 +0100)
Gbp-Pq: Name CVE-2021-40572.patch
src/media_tools/av_parsers.c
patch
|
blob
|
history
diff --git
a/src/media_tools/av_parsers.c
b/src/media_tools/av_parsers.c
index 85668bb06b8a188e25ec793e1ff6d7222207c4ef..71bac7f0938d886e71819a793f24bc4c49e1da81 100644
(file)
--- a/
src/media_tools/av_parsers.c
+++ b/
src/media_tools/av_parsers.c
@@
-3889,10
+3889,8
@@
void gf_av1_reset_state(AV1State *state, Bool is_destroy)
gf_list_del(l1);
gf_list_del(l2);
if (state->bs) {
- if (gf_bs_get_position(state->bs)) {
- u32 size;
- gf_bs_get_content_no_truncate(state->bs, &state->frame_obus, &size, &state->frame_obus_alloc);
- }
+ u32 size;
+ gf_bs_get_content_no_truncate(state->bs, &state->frame_obus, &size, &state->frame_obus_alloc);
gf_bs_del(state->bs);
}
state->bs = NULL;