]> git.sesse.net Git - vlc/commitdiff
aes3: use VLC_TS_INVALID (refs #3135)
authorRafaël Carré <rafael.carre@gmail.com>
Mon, 7 Dec 2009 07:05:24 +0000 (08:05 +0100)
committerRafaël Carré <rafael.carre@gmail.com>
Mon, 7 Dec 2009 07:33:56 +0000 (08:33 +0100)
modules/codec/aes3.c

index 5639cffadf8ef1da17a2bc840c809f91aa1f9624..c34b7cedaf9f60c07a84a4755e8053218620f492 100644 (file)
@@ -297,7 +297,7 @@ static block_t *Parse( decoder_t *p_dec, int *pi_frame_length, int *pi_bits,
     *pp_block = NULL; /* So the packet doesn't get re-sent */
 
     /* 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 );