usb_cam icon indicating copy to clipboard operation
usb_cam copied to clipboard

Remove deprecared/unneeded avcodec_close()

Open Pleune opened this issue 1 year ago • 0 comments

From docs see that this function call is not needed:

"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."

avcodec_free_context is already called.

Fixes error: ‘int avcodec_close(AVCodecContext*)’ is deprecated [-Werror=deprecated-declarations] for my builds.

Pleune avatar Aug 23 '24 14:08 Pleune