On Mon, Dec 09, 2019 at 13:15:40 +0100, Moritz Barsnick wrote: > > + case AVMEDIA_TYPE_SUBTITLE: > > + /* Freeing VIDEO tables leads to corrupted video when > > writing to eg. MKV */ > > + av_freep(&st->index_entries); > > + st->nb_index_entries = 0; > > av_freep() NULLs for you.
Forget this one, I misread it. ;-) > > > + av_freep(&sc->ctts_data); > > + sc->ctts_data = NULL; > > Ditto. But my comment applies here. Moritz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".