diff --git a/modules/packetizer/av1.c b/modules/packetizer/av1.c index 713748b3e9470f629eadbdb4fdd024847e52693f..96262d8843fc6717c3f4a86cc13c8d2695e67193 100644 --- a/modules/packetizer/av1.c +++ b/modules/packetizer/av1.c @@ -159,6 +159,7 @@ static void UpdateDecoderFormat(decoder_t *p_dec) { free(p_dec->fmt_out.p_extra); p_dec->fmt_out.i_extra = 0; + p_dec->fmt_out.p_extra = NULL; } if(p_dec->fmt_out.i_extra <= 4)