diff --git a/neo/renderer/Cinematic.cpp b/neo/renderer/Cinematic.cpp index 6458d889..71f618a4 100644 --- a/neo/renderer/Cinematic.cpp +++ b/neo/renderer/Cinematic.cpp @@ -551,7 +551,7 @@ bool idCinematicLocal::InitFromFFMPEGFile( const char* qpath, bool amilooping ) int ticksPerFrame = dec_ctx->ticks_per_frame; float durationSec = static_cast( fmt_ctx->streams[video_stream_index]->duration ) * static_cast( ticksPerFrame ) / static_cast( avr.den ); animationLength = durationSec * 1000; - frameRate = av_q2d( fmt_ctx->streams[video_stream_index]->r_frame_rate ); + frameRate = av_q2d( fmt_ctx->streams[video_stream_index]->avg_frame_rate ); buf = NULL; hasFrame = false; framePos = -1;