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
ac811ffb
Commit
ac811ffb
authored
Oct 15, 2002
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cinepak.c : initialize picture to black.
parent
706297b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/codec/cinepak/cinepak.c
modules/codec/cinepak/cinepak.c
+4
-1
No files found.
modules/codec/cinepak/cinepak.c
View file @
ac811ffb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* cinepak.c: cinepak video decoder
* cinepak.c: cinepak video decoder
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: cinepak.c,v 1.
3 2002/08/12 09:34:15 sam
Exp $
* $Id: cinepak.c,v 1.
4 2002/10/15 01:50:24 fenrir
Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -526,6 +526,9 @@ int cinepak_decode_frame( cinepak_context_t *p_context,
...
@@ -526,6 +526,9 @@ int cinepak_decode_frame( cinepak_context_t *p_context,
{
{
p_context
->
p_pix
[
i
]
=
malloc
(
p_context
->
i_stride
[
i
]
*
p_context
->
p_pix
[
i
]
=
malloc
(
p_context
->
i_stride
[
i
]
*
p_context
->
i_lines
[
i
]
);
p_context
->
i_lines
[
i
]
);
/* Set it to all black */
memset
(
p_context
->
p_pix
[
i
],
(
i
==
0
)
?
0
:
128
,
p_context
->
i_stride
[
i
]
*
p_context
->
i_lines
[
i
]
);
}
}
}
}
...
...
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