mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
libeplayer3: cast away compiler warning
Origin commit data
------------------
Branch: master
Commit: 4b681a4412
Author: martii <m4rtii@gmx.de>
Date: 2014-04-11 (Fri, 11 Apr 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -486,7 +486,7 @@ bool Input::UpdateTracks()
|
||||
std::string l = lang ? lang->value : "";
|
||||
uint8_t *data = stream->codec->extradata;
|
||||
int size = stream->codec->extradata_size;
|
||||
if (size > 0 && 2 * size - 1 == l.length())
|
||||
if (size > 0 && 2 * size - 1 == (int) l.length())
|
||||
for (int i = 0; i < size; i += 2) {
|
||||
track.Name = l.substr(i * 2, 3);
|
||||
track.type = data[i] >> 3;
|
||||
|
Reference in New Issue
Block a user