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
1 changed files with 0 additions and 1 deletions

View File

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