Skip to content

Commit

Permalink
GUACAMOLE-1952: Merge add compatibility with FFMPEG 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
necouchman authored May 25, 2024
2 parents c81e53c + 246a285 commit cc8addf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/guacenc/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit cc8addf

Please sign in to comment.