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
042f3711
Commit
042f3711
authored
Feb 07, 2004
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a segfault (don't try to memset a negative number of bytes)
parent
e6aba50a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/audio_filter/converter/dtstospdif.c
modules/audio_filter/converter/dtstospdif.c
+6
-3
No files found.
modules/audio_filter/converter/dtstospdif.c
View file @
042f3711
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* dtstospdif.c : encapsulates DTS frames into S/PDIF packets
* dtstospdif.c : encapsulates DTS frames into S/PDIF packets
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id: dtstospdif.c,v 1.
4 2004/02/04 23:28:10 gbazin
Exp $
* $Id: dtstospdif.c,v 1.
5 2004/02/07 15:01:07 sigmunau
Exp $
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
*
...
@@ -183,8 +183,11 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
...
@@ -183,8 +183,11 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
}
}
#endif
#endif
p_filter
->
p_vlc
->
pf_memset
(
p_out
+
8
+
i_length
,
0
,
if
(
i_fz
>
i_length
+
8
)
i_fz
-
i_length
-
8
);
{
p_filter
->
p_vlc
->
pf_memset
(
p_out
+
8
+
i_length
,
0
,
i_fz
-
i_length
-
8
);
}
}
}
p_out_buf
->
start_date
=
p_filter
->
p_sys
->
start_date
;
p_out_buf
->
start_date
=
p_filter
->
p_sys
->
start_date
;
...
...
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