Skip to content

Commit 7bb1b4a

Browse files
committed
fixed #1893
1 parent 5ce0c90 commit 7bb1b4a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: src/media_tools/av_parsers.c

+2-4
Original file line numberDiff line numberDiff line change
@@ -3980,10 +3980,8 @@ void gf_av1_reset_state(AV1State *state, Bool is_destroy)
39803980
gf_list_del(l1);
39813981
gf_list_del(l2);
39823982
if (state->bs) {
3983-
if (gf_bs_get_position(state->bs)) {
3984-
u32 size;
3985-
gf_bs_get_content_no_truncate(state->bs, &state->frame_obus, &size, &state->frame_obus_alloc);
3986-
}
3983+
u32 size;
3984+
gf_bs_get_content_no_truncate(state->bs, &state->frame_obus, &size, &state->frame_obus_alloc);
39873985
gf_bs_del(state->bs);
39883986
}
39893987
state->bs = NULL;

0 commit comments

Comments
 (0)