mirror of
https://github.com/WonderfulToolchain/psxavenc.git
synced 2025-12-20 04:39:52 +00:00
remove avcodec_close to fix build (#11)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user