lavc: make avcodec_close() work properly on unopened codecs.
I.e. free the priv_data and other stuff allocated in avcodec_alloc_context3() and not segfault.
Showing
Please
register
or
sign in
to comment
I.e. free the priv_data and other stuff allocated in avcodec_alloc_context3() and not segfault.