diff --git a/source/encoders/encoder-ffmpeg.cpp b/source/encoders/encoder-ffmpeg.cpp index 949f2e00..ee3fade0 100644 --- a/source/encoders/encoder-ffmpeg.cpp +++ b/source/encoders/encoder-ffmpeg.cpp @@ -180,7 +180,6 @@ ffmpeg_instance::~ffmpeg_instance() } // Close and free context. - avcodec_close(_context); avcodec_free_context(&_context); }