Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
e15e2a6d
Commit
e15e2a6d
authored
Feb 01, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libx264: fix indentation.
parent
24947d49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
libx264.c
libavcodec/libx264.c
+5
-5
No files found.
libavcodec/libx264.c
View file @
e15e2a6d
...
...
@@ -147,12 +147,12 @@ static int X264_frame(AVCodecContext *ctx, uint8_t *buf,
}
do
{
if
(
x264_encoder_encode
(
x4
->
enc
,
&
nal
,
&
nnal
,
frame
?
&
x4
->
pic
:
NULL
,
&
pic_out
)
<
0
)
return
-
1
;
if
(
x264_encoder_encode
(
x4
->
enc
,
&
nal
,
&
nnal
,
frame
?
&
x4
->
pic
:
NULL
,
&
pic_out
)
<
0
)
return
-
1
;
bufsize
=
encode_nals
(
ctx
,
buf
,
bufsize
,
nal
,
nnal
,
0
);
if
(
bufsize
<
0
)
return
-
1
;
bufsize
=
encode_nals
(
ctx
,
buf
,
bufsize
,
nal
,
nnal
,
0
);
if
(
bufsize
<
0
)
return
-
1
;
}
while
(
!
bufsize
&&
!
frame
&&
x264_encoder_delayed_frames
(
x4
->
enc
));
/* FIXME: libx264 now provides DTS, but AVFrame doesn't have a field for it. */
...
...
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