libeplayer3/ffmpeg: don't initialize container if context already exists

Origin commit data
------------------
Branch: master
Commit: df8103d5bb
Author: martii <m4rtii@gmx.de>
Date: 2013-11-21 (Thu, 21 Nov 2013)


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

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-11-21 18:18:13 +01:00
parent 74562bc318
commit e693b26204

View File

@@ -1677,6 +1677,8 @@ static int Command(void *_context, ContainerCmd_t command, void * argument)
if (command != CONTAINER_INIT && !avContext)
return cERR_CONTAINER_FFMPEG_ERR;
if (command == CONTAINER_INIT && avContext)
return cERR_CONTAINER_FFMPEG_ERR;
switch(command)
{
case CONTAINER_INIT: {