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
26695973
Commit
26695973
authored
Dec 22, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indent
Originally committed as revision 16278 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b68a4553
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
h264.c
libavcodec/h264.c
+7
-7
No files found.
libavcodec/h264.c
View file @
26695973
...
...
@@ -577,13 +577,13 @@ static inline int check_intra4x4_pred_mode(H264Context *h){
static
const
int
mask
[
4
]
=
{
0x8000
,
0x2000
,
0x80
,
0x20
};
for
(
i
=
0
;
i
<
4
;
i
++
){
if
(
!
(
h
->
left_samples_available
&
mask
[
i
])){
int
status
=
left
[
h
->
intra4x4_pred_mode_cache
[
scan8
[
0
]
+
8
*
i
]
];
if
(
status
<
0
){
av_log
(
h
->
s
.
avctx
,
AV_LOG_ERROR
,
"left block unavailable for requested intra4x4 mode %d at %d %d
\n
"
,
status
,
s
->
mb_x
,
s
->
mb_y
);
return
-
1
;
}
else
if
(
status
){
h
->
intra4x4_pred_mode_cache
[
scan8
[
0
]
+
8
*
i
]
=
status
;
}
int
status
=
left
[
h
->
intra4x4_pred_mode_cache
[
scan8
[
0
]
+
8
*
i
]
];
if
(
status
<
0
){
av_log
(
h
->
s
.
avctx
,
AV_LOG_ERROR
,
"left block unavailable for requested intra4x4 mode %d at %d %d
\n
"
,
status
,
s
->
mb_x
,
s
->
mb_y
);
return
-
1
;
}
else
if
(
status
){
h
->
intra4x4_pred_mode_cache
[
scan8
[
0
]
+
8
*
i
]
=
status
;
}
}
}
}
...
...
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