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
8bcfe7f7
Commit
8bcfe7f7
authored
Jan 20, 2011
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set gray (128) U/V planes for chroma-less samples. Fixes two fate samples
when played with -flags emu_edge.
parent
30112ada
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
h264_cabac.c
libavcodec/h264_cabac.c
+2
-0
h264_cavlc.c
libavcodec/h264_cavlc.c
+2
-0
No files found.
libavcodec/h264_cabac.c
View file @
8bcfe7f7
...
...
@@ -1373,6 +1373,8 @@ decode_intra_mb:
pred_mode
=
ff_h264_check_intra_pred_mode
(
h
,
pred_mode
);
if
(
pred_mode
<
0
)
return
-
1
;
h
->
chroma_pred_mode
=
pred_mode
;
}
else
{
h
->
chroma_pred_mode
=
DC_128_PRED8x8
;
}
}
else
if
(
partition_count
==
4
)
{
int
i
,
j
,
sub_partition_count
[
4
],
list
,
ref
[
2
][
4
];
...
...
libavcodec/h264_cavlc.c
View file @
8bcfe7f7
...
...
@@ -665,6 +665,8 @@ decode_intra_mb:
if
(
pred_mode
<
0
)
return
-
1
;
h
->
chroma_pred_mode
=
pred_mode
;
}
else
{
h
->
chroma_pred_mode
=
DC_128_PRED8x8
;
}
}
else
if
(
partition_count
==
4
){
int
i
,
j
,
sub_partition_count
[
4
],
list
,
ref
[
2
][
4
];
...
...
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