Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use avcodec_free_context() instead of avcodec_close()
This is stated in ffmpeg api documentation: `Do not use this function. Use avcodec_free_context() to destroy a codec context (either open or closed). Opening and closing a codec context multiple times is not supported anymore – use multiple codec contexts instead.` av_freep -calls are also performed inside avcodec_free_context() so remove them
- Loading branch information