small fix

Origin commit data
------------------
Branch: master
Commit: c4849c64b9
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2018-08-09 (Thu, 09 Aug 2018)


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

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2018-08-09 18:25:28 +02:00
parent d34583e67b
commit e4d2a3bcc8

View File

@@ -301,7 +301,7 @@ static int PlaybackPlay(Context_t *context)
context->playback->SlowMotion = 0;
context->playback->Speed = 0;
if (context->container && context->container->selectedContainer);
context->container->selectedContainer->Command(context, CONTAINER_STOP, NULL);
ret = context->container->selectedContainer->Command(context, CONTAINER_STOP, NULL);
}
else
{
@@ -333,7 +333,7 @@ static int PlaybackPlay(Context_t *context)
context->playback->isCreationPhase = 0; // allow thread to go into next state
if (context->container && context->container->selectedContainer);
context->container->selectedContainer->Command(context, CONTAINER_PLAY, NULL);
ret = context->container->selectedContainer->Command(context, CONTAINER_PLAY, NULL);
if (ret != 0)
{
playback_err("CONTAINER_PLAY failed!\n");