mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-29 00:10:57 +02:00
supplement to 4bd66ae15d
, fix segfault with only audio stream
Origin commit data
------------------
Branch: master
Commit: f43dc68b5c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-02-11 (Sun, 11 Feb 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -228,12 +228,9 @@ static int Command(void *_context, OutputCmd_t command, void *argument)
|
|||||||
ret = cERR_OUTPUT_INTERNAL_ERROR;
|
ret = cERR_OUTPUT_INTERNAL_ERROR;
|
||||||
|
|
||||||
// success or not executed, dunn care
|
// success or not executed, dunn care
|
||||||
if (!ret)
|
if (context->playback->isAudio)
|
||||||
{
|
{
|
||||||
if (context->playback->isAudio)
|
ret = context->output->audio->Command(context, OUTPUT_PLAY, "audio");
|
||||||
{
|
|
||||||
ret = context->output->audio->Command(context, OUTPUT_PLAY, "audio");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user