Do not re-call avcodec_get_context_defaults3(), it is already called by avformat_new_stream() and it leaks the codec priv_data that was already allocated. Use avformat_free_context() instead of freeing (not) everything manually. Fix trac ticket #2322.pull/19/head
parent
ad48556135
commit
9b211c43dc
1 changed files with 2 additions and 9 deletions
Loading…
Reference in new issue