mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
Silence some warnings
This commit is contained in:
parent
06f733a7f2
commit
0debcfed0a
12 changed files with 31 additions and 31 deletions
|
|
@ -130,7 +130,7 @@ namespace utils
|
|||
{
|
||||
const AVStream* stream = av_format_ctx->streams[video_stream_index];
|
||||
info.video_av_codec_id = stream->codecpar->codec_id;
|
||||
info.video_bitrate_bps = stream->codecpar->bit_rate;
|
||||
info.video_bitrate_bps = static_cast<s32>(stream->codecpar->bit_rate);
|
||||
}
|
||||
|
||||
// Get audio info if available
|
||||
|
|
@ -138,7 +138,7 @@ namespace utils
|
|||
{
|
||||
const AVStream* stream = av_format_ctx->streams[audio_stream_index];
|
||||
info.audio_av_codec_id = stream->codecpar->codec_id;
|
||||
info.audio_bitrate_bps = stream->codecpar->bit_rate;
|
||||
info.audio_bitrate_bps = static_cast<s32>(stream->codecpar->bit_rate);
|
||||
info.sample_rate = stream->codecpar->sample_rate;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue