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
9091ba9d
Commit
9091ba9d
authored
Jul 02, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: add support for constraint_set4_flag / constraint_set5_flag
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b6851d34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
h264_ps.c
libavcodec/h264_ps.c
+3
-1
No files found.
libavcodec/h264_ps.c
View file @
9091ba9d
...
...
@@ -324,7 +324,9 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){
constraint_set_flags
|=
get_bits1
(
&
s
->
gb
)
<<
1
;
//constraint_set1_flag
constraint_set_flags
|=
get_bits1
(
&
s
->
gb
)
<<
2
;
//constraint_set2_flag
constraint_set_flags
|=
get_bits1
(
&
s
->
gb
)
<<
3
;
//constraint_set3_flag
get_bits
(
&
s
->
gb
,
4
);
// reserved
constraint_set_flags
|=
get_bits1
(
&
s
->
gb
)
<<
4
;
//constraint_set4_flag
constraint_set_flags
|=
get_bits1
(
&
s
->
gb
)
<<
5
;
//constraint_set5_flag
get_bits
(
&
s
->
gb
,
2
);
// reserved
level_idc
=
get_bits
(
&
s
->
gb
,
8
);
sps_id
=
get_ue_golomb_31
(
&
s
->
gb
);
...
...
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