I can remove the NULL checks, sure. I could change L289 in mmttlv.c to a freep and reset the priv_data. Other places have no need to change. On Tue, May 2, 2023 at 9:58 PM Paul B Mahol <onemda at gmail.com> wrote: > Use av_freep(), non need to check for NULL before av_freep() / av_free() >