summaryrefslogtreecommitdiff
path: root/ffmpeg_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg_backend.h')
-rw-r--r--ffmpeg_backend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_backend.h b/ffmpeg_backend.h
index de73ff4..62134fe 100644
--- a/ffmpeg_backend.h
+++ b/ffmpeg_backend.h
@@ -5,7 +5,7 @@
// position. Different files don't exhibit this behavior.
struct av_info {
- uint64 PreviousPTS = -1; // PTS value of the previous frame, used to check timings.
+ uint64 PreviousPTS = (uint64)-1; // PTS value of the previous frame, used to check timings.
AVCodecParameters *VideoCodecParameters; // Used to supply info about the decoder.
const AVCodec* VideoCodec;