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
aa34b13d
Commit
aa34b13d
authored
Jun 02, 2010
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x264: use x264_picture_init from X264_BUILD >= 98
parent
f5a1049d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/codec/x264.c
modules/codec/x264.c
+4
-0
No files found.
modules/codec/x264.c
View file @
aa34b13d
...
...
@@ -1269,7 +1269,11 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict )
int
i_nal
=
0
,
i_out
=
0
,
i
=
0
;
/* init pic */
#if X264_BUILD >= 98
x264_picture_init
(
&
pic
);
#else
memset
(
&
pic
,
0
,
sizeof
(
x264_picture_t
)
);
#endif
if
(
likely
(
p_pict
)
)
{
pic
.
i_pts
=
p_pict
->
date
;
pic
.
img
.
i_csp
=
X264_CSP_I420
;
...
...
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