diff options
| author | Dominic Chen <d.c.ddcc@gmail.com> | 2015-08-02 16:39:59 -0700 |
|---|---|---|
| committer | Dominic Chen <d.c.ddcc@gmail.com> | 2015-08-19 11:07:54 -0400 |
| commit | 09714f86c3e4605385151af81bcde051686d8ccf (patch) | |
| tree | 5a1951a2af301d52d0c2d89d975fa8b871d3ecfd /Source/Core/VideoCommon/AVIDump.cpp | |
| parent | 869c5d7a8c31e7cf7d191f1d0beda8b5c056dc9d (diff) | |
Fix some compilation warnings
Diffstat (limited to 'Source/Core/VideoCommon/AVIDump.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AVIDump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/AVIDump.cpp b/Source/Core/VideoCommon/AVIDump.cpp index fe5b0050e7..d3f2581920 100644 --- a/Source/Core/VideoCommon/AVIDump.cpp +++ b/Source/Core/VideoCommon/AVIDump.cpp @@ -480,12 +480,12 @@ void AVIDump::AddFrame(const u8* data, int width, int height) while (!error && got_packet) { // Write the compressed frame in the media file. - if (pkt.pts != AV_NOPTS_VALUE) + if (static_cast<u64>(pkt.pts) != AV_NOPTS_VALUE) { pkt.pts = av_rescale_q(pkt.pts, s_stream->codec->time_base, s_stream->time_base); } - if (pkt.dts != AV_NOPTS_VALUE) + if (static_cast<u64>(pkt.dts) != AV_NOPTS_VALUE) { pkt.dts = av_rescale_q(pkt.dts, s_stream->codec->time_base, s_stream->time_base); |
