Skip to content

Commit

Permalink
Fixing undefined got_packet int
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed Jun 5, 2020
1 parent 62d7fb5 commit 86b83ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FFmpegWriter.cpp
Expand Up @@ -976,6 +976,7 @@ void FFmpegWriter::flush_encoders() {

/* encode the image */
int error_code = 0;
int got_packet = 0;
#if IS_FFMPEG_3_2
error_code = avcodec_send_frame(audio_codec, NULL);
#else
Expand Down

0 comments on commit 86b83ab

Please sign in to comment.