Fixing whitespace

This commit is contained in:
Jonathan Thomas
2022-10-24 15:02:25 -05:00
parent f207e48fe4
commit 2bc1c28b75

View File

@@ -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)