]> git.sesse.net Git - vlc/blobdiff - modules/codec/dts.c
* all: removed block_t->b_discontinuity,b_frame_* and added i_flags
[vlc] / modules / codec / dts.c
index e52ecf67e8fb3e7bb1b4844e5fa5ef9a9570dcf6..d6c3e53a0fbcb93a3e0a12b0cee7b98bc9cc6e04 100644 (file)
@@ -2,7 +2,7 @@
  * dts.c: parse DTS audio sync info and packetize the stream
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: dts.c,v 1.17 2004/02/07 00:56:44 gbazin Exp $
+ * $Id: dts.c,v 1.18 2004/02/25 17:48:52 fenrir Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Gildas Bazin <gbazin@netcourrier.com>
@@ -172,7 +172,7 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
         return NULL;
     }
 
-    if( (*pp_block)->b_discontinuity )
+    if( (*pp_block)->i_flags&BLOCK_FLAG_DISCONTINUITY )
     {
         p_sys->i_state = STATE_NOSYNC;
     }