From ac4dea75ea2c3fcef78c6571bb9db3b7432c609d Mon Sep 17 00:00:00 2001 From: malucart Date: Sun, 30 Nov 2025 11:03:58 -0300 Subject: [PATCH] remove avcodec_close to fix build (#11) --- psxavenc/decoding.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/psxavenc/decoding.c b/psxavenc/decoding.c index a9cec89..6540874 100644 --- a/psxavenc/decoding.c +++ b/psxavenc/decoding.c @@ -447,8 +447,6 @@ void close_av_data(decoder_t *decoder) { av_frame_free(&(av->frame)); swr_free(&(av->resampler)); - // Deprecated, kept for compatibility with older FFmpeg versions. - avcodec_close(av->audio_codec_context); avcodec_free_context(&(av->audio_codec_context)); avformat_free_context(av->format);