[vlc-devel] commit: realaudio: use VLC_TS_INVALID (refs #3135) ( Rafaël Carré )

git version control git at videolan.org
Mon Dec 7 17:55:08 CET 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Dec  7 17:34:28 2009 +0100| [ee38aedbf6dcf17e734881b68c2006a31cbb3308] | committer: Rafaël Carré 

realaudio: use VLC_TS_INVALID (refs #3135)

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

 modules/codec/realaudio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/realaudio.c b/modules/codec/realaudio.c
index 61a4628..2d0fcca 100644
--- a/modules/codec/realaudio.c
+++ b/modules/codec/realaudio.c
@@ -700,7 +700,7 @@ static aout_buffer_t *Decode( decoder_t *p_dec, block_t **pp_block )
 #endif
 
     /* Date management */
-    if( p_block->i_pts > 0 &&
+    if( p_block->i_pts > VLC_TS_INVALID &&
         p_block->i_pts != date_Get( &p_sys->end_date ) )
     {
         date_Set( &p_sys->end_date, p_block->i_pts );




More information about the vlc-devel mailing list