Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7c593a9a
Commit
7c593a9a
authored
Nov 15, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 2 asserts.
parent
7d26a5b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/mux/mpeg/pes.c
modules/mux/mpeg/pes.c
+3
-0
No files found.
modules/mux/mpeg/pes.c
View file @
7c593a9a
...
@@ -283,6 +283,9 @@ int EStoPES ( sout_instance_t *p_sout, block_t **pp_pes, block_t *p_es,
...
@@ -283,6 +283,9 @@ int EStoPES ( sout_instance_t *p_sout, block_t **pp_pes, block_t *p_es,
int
i_pes_count
=
1
;
int
i_pes_count
=
1
;
assert
(
i_max_pes_size
>=
0
);
assert
(
i_header_size
>=
0
);
/* NB, Only video ES may have unbounded length */
/* NB, Only video ES may have unbounded length */
if
(
!
i_max_pes_size
||
if
(
!
i_max_pes_size
||
(
p_fmt
->
i_cat
!=
VIDEO_ES
&&
i_max_pes_size
>
PES_PAYLOAD_SIZE_MAX
)
)
(
p_fmt
->
i_cat
!=
VIDEO_ES
&&
i_max_pes_size
>
PES_PAYLOAD_SIZE_MAX
)
)
...
...
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