(ffmpeg_core.c) Fix two warnings

This commit is contained in:
twinaphex 2015-06-26 15:36:12 +02:00
parent bd1c8e5489
commit d64cb9b326
1 changed files with 2 additions and 2 deletions

View File

@ -1125,7 +1125,7 @@ static void decode_thread(void *data)
SWS_POINT, NULL, NULL, NULL); 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(); swr[i] = swr_alloc();
@ -1294,7 +1294,7 @@ static void decode_thread(void *data)
sws_freeContext(sws); sws_freeContext(sws);
sws = NULL; sws = NULL;
for (i = 0; i < audio_streams_num; i++) for (i = 0; (int)i < audio_streams_num; i++)
swr_free(&swr[i]); swr_free(&swr[i]);
av_frame_free(&aud_frame); av_frame_free(&aud_frame);