mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
libeplayer3/ffmpeg: don't initialize container if context already exists
This commit is contained in:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user