libeplayer/container_ffmpeg: switch to ffmpeg 2.0 API

This commit is contained in:
martii
2014-04-03 18:10:03 +02:00
parent d2c6b63cc2
commit 212a414a5e
4 changed files with 31 additions and 36 deletions

View File

@@ -554,7 +554,7 @@ int cVideo::getBlank(void)
return 0;
while ((r = getline(&line, &n, f)) != -1)
{
if (r <= strlen("mailbox")) /* should not happen... */
if (r <= (ssize_t) strlen("mailbox")) /* should not happen... */
continue;
line[r - 1] = 0; /* remove \n */
if (!strcmp(&line[r - 1 - strlen("mailbox")], "mailbox"))