Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
bb652ac2
Commit
bb652ac2
authored
Apr 17, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed optional PES size bug, courtesy of Steve Brown <sbrown@cortland.com>.
parent
8fc52975
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/input/mpeg_system.c
src/input/mpeg_system.c
+4
-2
No files found.
src/input/mpeg_system.c
View file @
bb652ac2
...
...
@@ -2,7 +2,7 @@
* mpeg_system.c: TS, PS and PES management
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: mpeg_system.c,v 1.5
0 2001/04/13 01:49:22 henri
Exp $
* $Id: mpeg_system.c,v 1.5
1 2001/04/17 14:54:54 massiot
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Michel Lespinasse <walken@via.ecp.fr>
...
...
@@ -148,7 +148,9 @@ void input_ParsePES( input_thread_t * p_input, es_descriptor_t * p_es )
}
/* Get the PES size if defined */
p_es
->
i_pes_real_size
=
U16_AT
(
p_header
+
4
)
+
6
;
p_es
->
i_pes_real_size
=
U16_AT
(
p_header
+
4
);
if
(
p_es
->
i_pes_real_size
)
p_es
->
i_pes_real_size
+=
6
;
/* First read the 6 header bytes common to all PES packets:
* use them to test the PES validity */
...
...
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