mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +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");
|
||||
|
||||
#ifdef MARTII
|
||||
*length = -1;
|
||||
#else
|
||||
*length = 0;
|
||||
#endif
|
||||
|
||||
if (context->playback->isPlaying) {
|
||||
if (context->container && context->container->selectedContainer)
|
||||
|
Reference in New Issue
Block a user