GUACAMOLE-1952: Merge add compatibility with FFMPEG 7.0
This commit is contained in:
commit
cc8addf9be
@ -500,7 +500,9 @@ int guacenc_video_free(guacenc_video* video) {
|
||||
|
||||
/* Clean up encoding context */
|
||||
if (video->context != NULL) {
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(61, 3, 100)
|
||||
avcodec_close(video->context);
|
||||
#endif
|
||||
avcodec_free_context(&(video->context));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user