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
8a19ea4f
Commit
8a19ea4f
authored
Jul 23, 2009
by
Dominique Leuenberger
Committed by
Rémi Denis-Courmont
Jul 23, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
inverted parameters to memset. Setting the length to 0 looks bogus.
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
18e24161
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/demux/ty.c
modules/demux/ty.c
+1
-1
No files found.
modules/demux/ty.c
View file @
8a19ea4f
...
...
@@ -607,7 +607,7 @@ static int check_sync_pes( demux_t *p_demux, block_t *p_block,
if
(
offset
<
0
)
{
/* no header found, fake some 00's (this works, believe me) */
memset
(
p_sys
->
pes_buffer
,
4
,
0
);
memset
(
p_sys
->
pes_buffer
,
0
,
4
);
p_sys
->
i_pes_buf_cnt
=
4
;
if
(
rec_len
>
4
)
msg_Err
(
p_demux
,
"PES header not found in record of %d bytes!"
,
...
...
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