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
ed83f848
Commit
ed83f848
authored
Nov 16, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: minor simplification
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
bfca3511
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
h264.c
libavcodec/h264.c
+1
-1
No files found.
libavcodec/h264.c
View file @
ed83f848
...
...
@@ -1484,7 +1484,7 @@ static void decode_postinit(H264Context *h, int setup_finished){
}
}
out_of_order
=
MAX_DELAYED_PIC_COUNT
-
i
;
if
(
s
->
low_delay
&&
cur
->
f
.
pict_type
==
AV_PICTURE_TYPE_B
)
if
(
cur
->
f
.
pict_type
==
AV_PICTURE_TYPE_B
)
out_of_order
=
FFMAX
(
out_of_order
,
1
);
if
(
s
->
avctx
->
has_b_frames
<
out_of_order
&&
!
h
->
sps
.
bitstream_restriction_flag
){
av_log
(
s
->
avctx
,
AV_LOG_WARNING
,
"Increasing reorder buffer to %d
\n
"
,
out_of_order
);
...
...
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