Commit 6e398385 authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont

ttml: an invalid mtime_t is VLC_TS_INVALID

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 7b98a5d8
......@@ -122,7 +122,7 @@ static inline bool tt_time_Valid( const tt_time_t *t )
static inline mtime_t tt_time_Convert( const tt_time_t *t )
{
if( !tt_time_Valid( t ) )
return -1;
return VLC_TS_INVALID;
else
return t->base + CLOCK_FREQ * t->frames / TT_FRAME_RATE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment