summarylogtreecommitdiffstats
path: root/ffmpeg-7.patch
blob: 80b4b8b6a2b7626db09d567d2b793ab47066328c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp
+++ b/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp
@@ -273,7 +273,7 @@
 		bool bSkipThisFrame =
 			fTargetTime != -1 &&
 			GetTimestamp() + GetFrameDuration() < fTargetTime &&
-			(m_pStreamCodec->frame_number % 2) == 0;
+			(m_pStreamCodec->frame_num % 2) == 0;
 
 		int iGotFrame;
 		int len;