]> git.sesse.net Git - vlc/commitdiff
OK, so I foired input.h once again. But this one works. For real.
authorSam Hocevar <sam@videolan.org>
Mon, 15 Jan 2001 08:07:31 +0000 (08:07 +0000)
committerSam Hocevar <sam@videolan.org>
Mon, 15 Jan 2001 08:07:31 +0000 (08:07 +0000)
src/input/input.h

index eee83ac626d53c5e2c78f7792a834fa662d2bbb8..1c82565205416a8b677e0705ed33925943a505b8 100644 (file)
@@ -2,7 +2,7 @@
  * input.h: structures of the input not exported to other modules
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: input.h,v 1.9 2001/01/15 06:56:30 sam Exp $
+ * $Id: input.h,v 1.10 2001/01/15 08:07:31 sam Exp $
  *
  * Authors:
  *
@@ -120,7 +120,7 @@ static __inline__ void input_NullPacket( input_thread_t * p_input,
 
     /* XXX FIXME SARASS TODO: remove the following one-liner kludge when
      * we have bitstream IV, we won't need it anymore */
-    ((WORD_TYPE *)p_pad_data->p_buffer)++;
+    ((WORD_TYPE *)p_pad_data->p_payload_start)++;
 
     memset( p_pad_data->p_buffer, 0, PADDING_PACKET_SIZE );
     p_pad_data->b_discard_payload = 1;