[vlc-devel] [PATCH 5/5] podcast: use INPUT_UNKNOWN_DURATION for the unknown value
Steve Lhomme
robux4 at ycbcr.xyz
Sat Jun 23 09:26:17 CEST 2018
This parser is only used for the duration
---
modules/demux/playlist/podcast.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/playlist/podcast.c b/modules/demux/playlist/podcast.c
index 8dc47c37214..29593565f16 100644
--- a/modules/demux/playlist/podcast.c
+++ b/modules/demux/playlist/podcast.c
@@ -385,6 +385,6 @@ static vlc_tick_t strTimeToMTime( const char *psz )
case 2:
return (vlc_tick_t)( h*60 + m ) * CLOCK_FREQ;
default:
- return -1;
+ return INPUT_UNKNOWN_DURATION;
}
}
--
2.17.0
More information about the vlc-devel
mailing list