Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
ed8ff732
Commit
ed8ff732
authored
Jan 18, 2000
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
petit patch pour faire marcher l'AC3
parent
60f77057
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/input/input.c
src/input/input.c
+3
-1
No files found.
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
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