]> git.sesse.net Git - vlc/commitdiff
* modules/packetizer/mpeg4audio.c, modules/packetizer/mpegvideo.c: compilation fix.
authorGildas Bazin <gbazin@videolan.org>
Wed, 25 Feb 2004 18:43:24 +0000 (18:43 +0000)
committerGildas Bazin <gbazin@videolan.org>
Wed, 25 Feb 2004 18:43:24 +0000 (18:43 +0000)
modules/packetizer/mpeg4audio.c
modules/packetizer/mpegvideo.c

index da04e3657703a41535653f6b2e64358b814ed350..ee5eeb769d11b65b439201fb53309676bb8bcacd 100644 (file)
@@ -2,7 +2,7 @@
  * mpeg4audio.c: parse and packetize an MPEG 4 audio stream
  *****************************************************************************
  * Copyright (C) 2001, 2002 VideoLAN
- * $Id: mpeg4audio.c,v 1.16 2004/01/25 17:58:30 murray Exp $
+ * $Id: mpeg4audio.c,v 1.17 2004/02/25 18:43:24 gbazin Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Gildas Bazin <gbazin@netcourrier.com>
@@ -253,7 +253,7 @@ static block_t *ADTSPacketizeBlock( 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;
     }
index 1684478f75b2c63d166c11fd60994e14f151bace..6e838cbdcc538dc8b5b5cfbf06dbde75f2419669 100644 (file)
@@ -2,7 +2,7 @@
  * mpegvideo.c: parse and packetize an MPEG1/2 video stream
  *****************************************************************************
  * Copyright (C) 2001, 2002 VideoLAN
- * $Id: mpegvideo.c,v 1.29 2004/02/20 18:24:41 massiot Exp $
+ * $Id: mpegvideo.c,v 1.30 2004/02/25 18:43:24 gbazin Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Eric Petit <titer@videolan.org>
@@ -211,7 +211,7 @@ static block_t *Packetize( 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;
         if( p_sys->p_frame ) block_ChainRelease( p_sys->p_frame );