]> git.sesse.net Git - vlc/blobdiff - include/vlc_block_helper.h
* include/vlc_block_helper.h, modules/codec/a52.c: same as thedj ;)
[vlc] / include / vlc_block_helper.h
index 8eaa4cc2d90b7ce97186888e04d3a79ca21a9943..fe42def3be6533dfbf6bd4cb78675bb7748fbd58 100644 (file)
@@ -2,7 +2,7 @@
  * vlc_block_helper.h: Helper functions for data blocks management.
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: vlc_block_helper.h,v 1.1 2003/09/30 20:23:03 gbazin Exp $
+ * $Id: vlc_block_helper.h,v 1.2 2003/09/30 20:36:46 gbazin Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
@@ -61,19 +61,6 @@ static inline block_t *block_BytestreamFlush( block_bytestream_t *p_bytestream)
     return p_bytestream->p_chain;
 }
 
-static inline mtime_t block_BytestreamPTS( block_bytestream_t *p_bytestream )
-{
-    while( p_bytestream->p_chain != p_bytestream->p_block )
-    {
-        block_t *p_next;
-        p_next = p_bytestream->p_chain->p_next;
-        p_bytestream->p_chain->pf_release( p_bytestream->p_chain );
-        p_bytestream->p_chain = p_next;
-    }
-
-    return p_bytestream->p_chain;
-}
-
 static inline int block_SkipByte( block_bytestream_t *p_bytestream )
 {
     /* Most common case first */