Commit 2378ce90 authored by Sam Hocevar's avatar Sam Hocevar

. really fixed GetChunk now.

parent 234d7300
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* input_ext-dec.h: structures exported to the VideoLAN decoders * input_ext-dec.h: structures exported to the VideoLAN decoders
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN * Copyright (C) 1999, 2000 VideoLAN
* $Id: input_ext-dec.h,v 1.16 2001/01/20 04:19:02 sam Exp $ * $Id: input_ext-dec.h,v 1.17 2001/01/20 13:08:33 sam Exp $
* *
* Authors: * Authors:
* *
...@@ -403,7 +403,7 @@ static __inline__ void GetChunk( bit_stream_t * p_bit_stream, ...@@ -403,7 +403,7 @@ static __inline__ void GetChunk( bit_stream_t * p_bit_stream,
if( p_bit_stream->fifo.i_available ) if( p_bit_stream->fifo.i_available )
{ {
*((WORD_TYPE *)p_buffer) = WORD_AT( p_bit_stream->p_byte ); *((WORD_TYPE *)p_buffer) = WORD_AT( &p_bit_stream->fifo.buffer );
p_buffer += p_bit_stream->fifo.i_available >> 3; p_buffer += p_bit_stream->fifo.i_available >> 3;
i_buf_len -= p_bit_stream->fifo.i_available >> 3; i_buf_len -= p_bit_stream->fifo.i_available >> 3;
p_bit_stream->fifo.buffer = 0; p_bit_stream->fifo.buffer = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment