Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
ed8ff732
Commit
ed8ff732
authored
Jan 18, 2000
by
Sam Hocevar
Browse files
petit patch pour faire marcher l'AC3
parent
60f77057
Changes
1
Show whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
ed8ff732
...
...
@@ -914,7 +914,8 @@ static __inline__ void input_DemuxPES( input_thread_t *p_input,
/* The PES header contains at least 3 more bytes: parse them */
p_pes
->
b_data_alignment
=
p_pes
->
p_pes_header
[
6
]
&
0x04
;
p_pes
->
b_has_pts
=
p_pes
->
p_pes_header
[
7
]
&
0x80
;
i_pes_header_size
=
9
+
p_pes
->
p_pes_header
[
8
];
i_pes_header_size
=
p_pes
->
p_pes_header
[
8
]
+
(
p_es_descriptor
->
i_type
==
AC3_AUDIO_ES
)
?
13
:
9
;
/* Now parse the optional header extensions (in the limit of
the 14 bytes */
...
...
@@ -979,6 +980,7 @@ static __inline__ void input_DemuxPES( input_thread_t *p_input,
/* This last packet is partly header, partly payload. */
p_ts
->
i_payload_start
+=
i_pes_header_size
;
/* Now we can eventually put the PES packet in the decoder's
PES fifo */
switch
(
p_es_descriptor
->
i_type
)
...
...
Write
Preview
Supports
Markdown
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