mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libeplayer/playback: initialize length to -1
This commit is contained in:
@@ -850,7 +850,11 @@ static int PlaybackLength(Context_t *context, double* length) {
|
|||||||
|
|
||||||
playback_printf(20, "\n");
|
playback_printf(20, "\n");
|
||||||
|
|
||||||
|
#ifdef MARTII
|
||||||
|
*length = -1;
|
||||||
|
#else
|
||||||
*length = 0;
|
*length = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (context->playback->isPlaying) {
|
if (context->playback->isPlaying) {
|
||||||
if (context->container && context->container->selectedContainer)
|
if (context->container && context->container->selectedContainer)
|
||||||
|
Reference in New Issue
Block a user