Commit 8e32c9aa authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Ogg: no tabs in source-code

parent 98b1b280
...@@ -500,7 +500,7 @@ static void Ogg_UpdatePCR( logical_stream_t *p_stream, ...@@ -500,7 +500,7 @@ static void Ogg_UpdatePCR( logical_stream_t *p_stream,
( iframe << p_stream->i_granule_shift ); ( iframe << p_stream->i_granule_shift );
p_stream->i_pcr = ( iframe + pframe - p_stream->i_keyframe_offset ) p_stream->i_pcr = ( iframe + pframe - p_stream->i_keyframe_offset )
* INT64_C(1000000) / p_stream->f_rate; * INT64_C(1000000) / p_stream->f_rate;
} }
else if( p_stream->fmt.i_codec == VLC_CODEC_DIRAC ) else if( p_stream->fmt.i_codec == VLC_CODEC_DIRAC )
{ {
...@@ -977,12 +977,12 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux ) ...@@ -977,12 +977,12 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux )
} }
/* Check for Dirac header */ /* Check for Dirac header */
else if( ( oggpacket.bytes >= 5 && else if( ( oggpacket.bytes >= 5 &&
! memcmp( oggpacket.packet, "BBCD\x00", 5 ) ) || ! memcmp( oggpacket.packet, "BBCD\x00", 5 ) ) ||
( oggpacket.bytes >= 9 && ( oggpacket.bytes >= 9 &&
! memcmp( oggpacket.packet, "KW-DIRAC\x00", 9 ) ) ) ! memcmp( oggpacket.packet, "KW-DIRAC\x00", 9 ) ) )
{ {
if( Ogg_ReadDiracHeader( p_stream, &oggpacket ) ) if( Ogg_ReadDiracHeader( p_stream, &oggpacket ) )
msg_Dbg( p_demux, "found dirac header" ); msg_Dbg( p_demux, "found dirac header" );
else else
{ {
msg_Warn( p_demux, "found dirac header isn't decodable" ); msg_Warn( p_demux, "found dirac header isn't decodable" );
......
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