encoder/ffmpeg: Remove usage of avcodec_close

This functionality has been deprecated by FFmpeg.
This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2022-09-23 01:51:41 +02:00
parent 4236c28c58
commit c0967e9252

View file

@ -180,7 +180,6 @@ ffmpeg_instance::~ffmpeg_instance()
}
// Close and free context.
avcodec_close(_context);
avcodec_free_context(&_context);
}