Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
e16a703c
Commit
e16a703c
authored
Nov 29, 2003
by
Laurent Aimar
Browse files
* encoder: added a memset.
parent
27c49515
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/ffmpeg/encoder.c
View file @
e16a703c
...
...
@@ -2,7 +2,7 @@
* encoder.c: video and audio encoder using the ffmpeg library
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: encoder.c,v 1.1
3
2003/11/29
00:41:35 gbazin
Exp $
* $Id: encoder.c,v 1.1
4
2003/11/29
12:03:08 fenrir
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -296,6 +296,7 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
int
i_out
,
i_plane
;
vlc_bool_t
b_hurry_up
=
0
;
memset
(
&
frame
,
0
,
sizeof
(
AVFrame
)
);
for
(
i_plane
=
0
;
i_plane
<
p_pict
->
i_planes
;
i_plane
++
)
{
frame
.
data
[
i_plane
]
=
p_pict
->
p
[
i_plane
].
p_pixels
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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