Commit a72e4821 authored by Laurent Aimar's avatar Laurent Aimar

Cosmetics (use PES_EXTENDED_STREAM_ID)

parent 823eb622
...@@ -135,7 +135,7 @@ static inline int PESHeader( uint8_t *p_hdr, mtime_t i_pts, mtime_t i_dts, ...@@ -135,7 +135,7 @@ static inline int PESHeader( uint8_t *p_hdr, mtime_t i_pts, mtime_t i_dts,
if ( !i_header_size ) i_header_size = 0x0; if ( !i_header_size ) i_header_size = 0x0;
} }
if( i_stream_id == 0xfd ) if( i_stream_id == PES_EXTENDED_STREAM_ID )
{ {
b_pes_extension_flag = true; b_pes_extension_flag = true;
i_header_size += 1 + 1; i_header_size += 1 + 1;
...@@ -206,7 +206,7 @@ static inline int PESHeader( uint8_t *p_hdr, mtime_t i_pts, mtime_t i_dts, ...@@ -206,7 +206,7 @@ static inline int PESHeader( uint8_t *p_hdr, mtime_t i_pts, mtime_t i_dts,
/* pack_header */ /* pack_header */
/* program_packet_sequence_counter */ /* program_packet_sequence_counter */
/* P-STD_buffer_flag */ /* P-STD_buffer_flag */
if( i_stream_id == 0xfd ) if( i_stream_id == PES_EXTENDED_STREAM_ID )
{ {
/* PES_extension_2 */ /* PES_extension_2 */
bits_write( &bits, 1, 0x01 ); // marker bits_write( &bits, 1, 0x01 ); // marker
......
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