Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
a72e4821
Commit
a72e4821
authored
Nov 18, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics (use PES_EXTENDED_STREAM_ID)
parent
823eb622
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/mux/mpeg/pes.c
modules/mux/mpeg/pes.c
+2
-2
No files found.
modules/mux/mpeg/pes.c
View file @
a72e4821
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment