remove avcodec_close to fix build (#11)

This commit is contained in:
malucart
2025-11-30 11:03:58 -03:00
committed by GitHub
parent 7aaae789aa
commit ac4dea75ea

View File

@@ -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);