From be9ebb472af9679ece037efa4e27a8d99296f9f0 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Fri, 8 Jan 2016 17:40:50 +0100 Subject: [PATCH] libeplayer3: fix signed/unsigend comparison warning --- libeplayer3/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libeplayer3/input.cpp b/libeplayer3/input.cpp index 892d874..2e562bf 100644 --- a/libeplayer3/input.cpp +++ b/libeplayer3/input.cpp @@ -481,7 +481,7 @@ bool Input::Init(const char *filename) /* only call avformat_find_stream_info if no AAC * stream is present to speed up playback start * TODO: do we need avformat_find_stream_info at all? */ - for (int i = 0; i < avfc->nb_streams; i++) { + for (unsigned int i = 0; i < avfc->nb_streams; i++) { if (avfc->streams[i]->codec->codec_id == AV_CODEC_ID_AAC) find_info = false; }