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
704ff6e2
Commit
704ff6e2
authored
Mar 03, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/x264.c: compilation fix for new libx264.
parent
49151c07
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
modules/codec/x264.c
modules/codec/x264.c
+6
-4
No files found.
modules/codec/x264.c
View file @
704ff6e2
...
@@ -361,11 +361,9 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict )
...
@@ -361,11 +361,9 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict )
{
{
encoder_sys_t
*
p_sys
=
p_enc
->
p_sys
;
encoder_sys_t
*
p_sys
=
p_enc
->
p_sys
;
x264_picture_t
pic
;
x264_picture_t
pic
;
int
i_nal
;
x264_nal_t
*
nal
;
x264_nal_t
*
nal
;
block_t
*
p_block
;
block_t
*
p_block
;
int
i_out
;
int
i_nal
,
i_out
,
i
;
int
i
;
/* init pic */
/* init pic */
memset
(
&
pic
,
0
,
sizeof
(
x264_picture_t
)
);
memset
(
&
pic
,
0
,
sizeof
(
x264_picture_t
)
);
...
@@ -377,7 +375,11 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict )
...
@@ -377,7 +375,11 @@ static block_t *Encode( encoder_t *p_enc, picture_t *p_pict )
pic
.
img
.
i_stride
[
i
]
=
p_pict
->
p
[
i
].
i_pitch
;
pic
.
img
.
i_stride
[
i
]
=
p_pict
->
p
[
i
].
i_pitch
;
}
}
#if X264_BUILD >= 0x0013
x264_encoder_encode
(
p_sys
->
h
,
&
nal
,
&
i_nal
,
&
pic
,
&
pic
);
#else
x264_encoder_encode
(
p_sys
->
h
,
&
nal
,
&
i_nal
,
&
pic
);
x264_encoder_encode
(
p_sys
->
h
,
&
nal
,
&
i_nal
,
&
pic
);
#endif
for
(
i
=
0
,
i_out
=
0
;
i
<
i_nal
;
i
++
)
for
(
i
=
0
,
i_out
=
0
;
i
<
i_nal
;
i
++
)
{
{
int
i_size
=
p_sys
->
i_buffer
-
i_out
;
int
i_size
=
p_sys
->
i_buffer
-
i_out
;
...
...
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