Commit b72e3b16 authored by Rocky Bernstein's avatar Rocky Bernstein

Remove a magic number.

parent 9d12fa3b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* cvd.c : CVD Subtitle decoder thread * cvd.c : CVD Subtitle decoder thread
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: cvd.c,v 1.4 2003/12/30 04:43:52 rocky Exp $ * $Id: cvd.c,v 1.5 2004/01/01 13:54:24 rocky Exp $
* *
* Authors: Rocky Bernstein * Authors: Rocky Bernstein
* based on code from: * based on code from:
...@@ -252,7 +252,7 @@ Reassemble( decoder_t *p_dec, block_t **pp_block ) ...@@ -252,7 +252,7 @@ Reassemble( decoder_t *p_dec, block_t **pp_block )
} }
/* FIXME - remove append_data and use chainappend */ /* FIXME - remove append_data and use chainappend */
VCDSubAppendData( p_dec, p_buffer, p_block->i_buffer - 1 ); VCDSubAppendData( p_dec, p_buffer, p_block->i_buffer - SPU_HEADER_LEN );
block_ChainAppend( &p_sys->p_block, p_block ); block_ChainAppend( &p_sys->p_block, p_block );
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ogt.c : Overlay Graphics Text (SVCD subtitles) decoder thread * ogt.c : Overlay Graphics Text (SVCD subtitles) decoder thread
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: ogt.c,v 1.6 2003/12/28 04:51:52 rocky Exp $ * $Id: ogt.c,v 1.7 2004/01/01 13:55:17 rocky Exp $
* *
* Authors: Rocky Bernstein * Authors: Rocky Bernstein
* based on code from: * based on code from:
...@@ -284,7 +284,7 @@ Reassemble( decoder_t *p_dec, block_t **pp_block ) ...@@ -284,7 +284,7 @@ Reassemble( decoder_t *p_dec, block_t **pp_block )
} }
/* FIXME - remove append_data and use chainappend */ /* FIXME - remove append_data and use chainappend */
VCDSubAppendData( p_dec, p_buffer, p_block->i_buffer - 5 ); VCDSubAppendData( p_dec, p_buffer, p_block->i_buffer - SPU_HEADER_LEN );
block_ChainAppend( &p_sys->p_block, p_block ); block_ChainAppend( &p_sys->p_block, p_block );
......
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