mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
recording: fix warning
This commit is contained in:
parent
9e3763e6e5
commit
dbbf318e1c
1 changed files with 1 additions and 1 deletions
|
@ -1432,7 +1432,7 @@ namespace utils
|
||||||
else if (pts > (last_audio_pts + 1))
|
else if (pts > (last_audio_pts + 1))
|
||||||
{
|
{
|
||||||
// Add silence to fill the gap
|
// Add silence to fill the gap
|
||||||
const u32 silence_to_add = pts - (last_audio_pts + 1);
|
const u32 silence_to_add = static_cast<u32>(pts - (last_audio_pts + 1));
|
||||||
add_encoder_sample(false, silence_to_add);
|
add_encoder_sample(false, silence_to_add);
|
||||||
}
|
}
|
||||||
else if (sample == 0)
|
else if (sample == 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue