summaryrefslogtreecommitdiff
path: root/ffmpeg_backend.h
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2022-08-22 15:57:38 -0400
committerFox Caminiti <fox@foxcam.net>2022-08-22 15:57:38 -0400
commite25257a0431ef475e5106f7534319b161b81fcae (patch)
tree0db25278f054eca42d5aff8346051a26536f7e8c /ffmpeg_backend.h
parentd03d7187c1881237b1a98404a125507d33d85a0e (diff)
windows buildable; needs debugging
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;