Skip to content

Commit

Permalink
Fixing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed Oct 24, 2022
1 parent f207e48 commit 2bc1c28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/FFmpegReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,10 +821,10 @@ void FFmpegReader::UpdateVideoInfo() {

// Certain "image" formats do not have a valid duration
if (info.duration <= 0.0f && pStream->duration == AV_NOPTS_VALUE && pFormatCtx->duration == AV_NOPTS_VALUE) {
// Force an "image" duration
info.duration = 60 * 60 * 1; // 1 hour duration
info.video_length = 1;
info.has_single_image = true;
// Force an "image" duration
info.duration = 60 * 60 * 1; // 1 hour duration
info.video_length = 1;
info.has_single_image = true;
}

// Get the # of video frames (if found in stream)
Expand Down

0 comments on commit 2bc1c28

Please sign in to comment.