3 Jan
2021
3 Jan
'21
8:16 p.m.
On Wed, Dec 30, 2020, at 10:34 AM, James Almer wrote:
Nothing should have done it at that point. The demuxer allocates the AVStream after all. But to be sure you can do av_freep(&st->codecpar->extradata) to ensure it's NULL before anything else is done.
Thanks James. I've updated the patch to include av_freep. If there's no other feedback, I think this is ready to go.