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
a833ff68
Commit
a833ff68
authored
May 08, 2016
by
Anton Mitrofanov
Committed by
Anton Khirnov
Jun 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: Fix decoding delay for Intra only streams
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
90f469aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
h264_ps.c
libavcodec/h264_ps.c
+2
-1
No files found.
libavcodec/h264_ps.c
View file @
a833ff68
...
...
@@ -530,7 +530,8 @@ int ff_h264_decode_seq_parameter_set(GetBitContext *gb, AVCodecContext *avctx,
/* if the maximum delay is not stored in the SPS, derive it based on the
* level */
if
(
!
sps
->
bitstream_restriction_flag
)
{
if
(
!
sps
->
bitstream_restriction_flag
&&
(
sps
->
ref_frame_count
||
avctx
->
strict_std_compliance
>=
FF_COMPLIANCE_STRICT
))
{
sps
->
num_reorder_frames
=
MAX_DELAYED_PIC_COUNT
-
1
;
for
(
i
=
0
;
i
<
FF_ARRAY_ELEMS
(
level_max_dpb_mbs
);
i
++
)
{
if
(
level_max_dpb_mbs
[
i
][
0
]
==
sps
->
level_idc
)
{
...
...
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