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

git version control git at videolan.org
Mon Dec 7 08:50:41 CET 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Dec  7 08:05:24 2009 +0100| [c91d8dadea2a57d57afb058bd31ced74f9804ed1] | committer: Rafaël Carré 

aes3: use VLC_TS_INVALID (refs #3135)

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

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

diff --git a/modules/codec/aes3.c b/modules/codec/aes3.c
index 5639cff..c34b7ce 100644
--- a/modules/codec/aes3.c
+++ b/modules/codec/aes3.c
@@ -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 );




More information about the vlc-devel mailing list