vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Fri May  4 
13:29:37 2018 +0300| [0ad88a1233a27b7664d82aed8ef75b3a298fd014] | committer: 
Rémi Denis-Courmont

mpg123: use VLC_TS_INVALID in one missing case

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ad88a1233a27b7664d82aed8ef75b3a298fd014
---

 modules/codec/mpg123.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/mpg123.c b/modules/codec/mpg123.c
index d85098abb4..fdfcb8f2ba 100644
--- a/modules/codec/mpg123.c
+++ b/modules/codec/mpg123.c
@@ -190,7 +190,7 @@ static int UpdateAudioFormat( decoder_t *p_dec )
     {
         p_dec->fmt_out.audio.i_rate = (unsigned int)frame_info.rate;
         date_Init( &p_sys->end_date, p_dec->fmt_out.audio.i_rate, 1 );
-        date_Set( &p_sys->end_date, 0 );
+        date_Set( &p_sys->end_date, VLC_TS_INVALID );
     }
 
     return decoder_UpdateAudioFormat( p_dec );

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to