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
be391fb6
Commit
be391fb6
authored
Jul 29, 2012
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264_ps: declare array of colorspace strings on its own line.
parent
70c8753d
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 @
be391fb6
...
...
@@ -431,6 +431,7 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){
sps
->
sar
.
den
=
1
;
if
(
s
->
avctx
->
debug
&
FF_DEBUG_PICT_INFO
){
static
const
char
csp
[
4
][
5
]
=
{
"Gray"
,
"420"
,
"422"
,
"444"
};
av_log
(
h
->
s
.
avctx
,
AV_LOG_DEBUG
,
"sps:%u profile:%d/%d poc:%d ref:%d %dx%d %s %s crop:%d/%d/%d/%d %s %s %d/%d
\n
"
,
sps_id
,
sps
->
profile_idc
,
sps
->
level_idc
,
sps
->
poc_type
,
...
...
@@ -441,7 +442,7 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){
sps
->
crop_left
,
sps
->
crop_right
,
sps
->
crop_top
,
sps
->
crop_bottom
,
sps
->
vui_parameters_present_flag
?
"VUI"
:
""
,
((
const
char
*
[]){
"Gray"
,
"420"
,
"422"
,
"444"
})
[
sps
->
chroma_format_idc
],
csp
[
sps
->
chroma_format_idc
],
sps
->
timing_info_present_flag
?
sps
->
num_units_in_tick
:
0
,
sps
->
timing_info_present_flag
?
sps
->
time_scale
:
0
);
...
...
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