mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Fix some compilation warnings
This commit is contained in:
parent
869c5d7a8c
commit
09714f86c3
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue