Skip to content

Commit

Permalink
fixed potential crash in ffdec - cf #2692
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Dec 7, 2023
1 parent a192ff8 commit 9bae045
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/filters/ff_dec.c
Expand Up @@ -253,6 +253,8 @@ static GF_Err ffdec_process_video(GF_Filter *filter, struct _gf_ffdec_ctx *ctx)

FF_INIT_PCK(ctx, pkt)

//reset as we may get re-called from goto
pck_src=NULL;
if (pck) {
data = gf_filter_pck_get_data(pck, &size);

Expand Down

0 comments on commit 9bae045

Please sign in to comment.