mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-10 18:19:06 +00:00
fix warning
This commit is contained in:
parent
202aed560b
commit
867f0e1f02
1 changed files with 2 additions and 2 deletions
|
@ -115,8 +115,8 @@ namespace utils
|
||||||
}
|
}
|
||||||
|
|
||||||
// Abort if there is no natching stream or if the stream isn't the first one
|
// Abort if there is no natching stream or if the stream isn't the first one
|
||||||
if (av_media_type == AVMEDIA_TYPE_AUDIO && audio_stream_index != 0 ||
|
if ((av_media_type == AVMEDIA_TYPE_AUDIO && audio_stream_index != 0) ||
|
||||||
av_media_type == AVMEDIA_TYPE_VIDEO && video_stream_index != 0)
|
(av_media_type == AVMEDIA_TYPE_VIDEO && video_stream_index != 0))
|
||||||
{
|
{
|
||||||
// Failed to find a stream
|
// Failed to find a stream
|
||||||
avformat_close_input(&av_format_ctx);
|
avformat_close_input(&av_format_ctx);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue