Commit 234d7300 authored by Sam Hocevar's avatar Sam Hocevar

 . the infamous Saturday morning mighty one-liner patch that fixes subtitles
parent 7590bd9b
...@@ -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.15 2001/01/18 17:40:06 massiot Exp $ * $Id: input_ext-dec.h,v 1.16 2001/01/20 04:19:02 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->fifo.buffer ); *((WORD_TYPE *)p_buffer) = WORD_AT( p_bit_stream->p_byte );
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