mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
(ffmpeg_core.c) Fix two warnings
This commit is contained in:
parent
bd1c8e5489
commit
d64cb9b326
@ -1125,7 +1125,7 @@ static void decode_thread(void *data)
|
||||
SWS_POINT, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
for (i = 0; i < audio_streams_num; i++)
|
||||
for (i = 0; (int)i < audio_streams_num; i++)
|
||||
{
|
||||
swr[i] = swr_alloc();
|
||||
|
||||
@ -1294,7 +1294,7 @@ static void decode_thread(void *data)
|
||||
sws_freeContext(sws);
|
||||
sws = NULL;
|
||||
|
||||
for (i = 0; i < audio_streams_num; i++)
|
||||
for (i = 0; (int)i < audio_streams_num; i++)
|
||||
swr_free(&swr[i]);
|
||||
|
||||
av_frame_free(&aud_frame);
|
||||
|
Loading…
x
Reference in New Issue
Block a user