libeplayer/container_ffmpeg: switch to ffmpeg 2.0 API

Origin commit data
------------------
Branch: master
Commit: 212a414a5e
Author: martii <m4rtii@gmx.de>
Date: 2014-04-03 (Thu, 03 Apr 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-04-03 18:10:03 +02:00
parent 5bddc3f8c7
commit beee99fbbc
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"))