encoder/ffmpeg: Remove usage of `avcodec_close`
This functionality has been deprecated by FFmpeg.
This commit is contained in:
parent
4236c28c58
commit
c0967e9252
|
@ -180,7 +180,6 @@ ffmpeg_instance::~ffmpeg_instance()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Close and free context.
|
// Close and free context.
|
||||||
avcodec_close(_context);
|
|
||||||
avcodec_free_context(&_context);
|
avcodec_free_context(&_context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue