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
2491f9ee
Commit
2491f9ee
authored
Feb 03, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: remove a pointless if()
!encoding is always true, we do not have a H.264 encoder
parent
68f930d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
65 deletions
+63
-65
h264.c
libavcodec/h264.c
+63
-65
No files found.
libavcodec/h264.c
View file @
2491f9ee
...
@@ -1796,7 +1796,6 @@ static av_always_inline void hl_decode_mb_predict_luma(H264Context *h,
...
@@ -1796,7 +1796,6 @@ static av_always_inline void hl_decode_mb_predict_luma(H264Context *h,
int
qscale
=
p
==
0
?
s
->
qscale
:
h
->
chroma_qp
[
p
-
1
];
int
qscale
=
p
==
0
?
s
->
qscale
:
h
->
chroma_qp
[
p
-
1
];
block_offset
+=
16
*
p
;
block_offset
+=
16
*
p
;
if
(
IS_INTRA4x4
(
mb_type
))
{
if
(
IS_INTRA4x4
(
mb_type
))
{
if
(
simple
||
!
s
->
encoding
)
{
if
(
IS_8x8DCT
(
mb_type
))
{
if
(
IS_8x8DCT
(
mb_type
))
{
if
(
transform_bypass
)
{
if
(
transform_bypass
)
{
idct_dc_add
=
idct_dc_add
=
...
@@ -1870,7 +1869,6 @@ static av_always_inline void hl_decode_mb_predict_luma(H264Context *h,
...
@@ -1870,7 +1869,6 @@ static av_always_inline void hl_decode_mb_predict_luma(H264Context *h,
}
}
}
}
}
}
}
}
else
{
}
else
{
h
->
hpc
.
pred16x16
[
h
->
intra16x16_pred_mode
](
dest_y
,
linesize
);
h
->
hpc
.
pred16x16
[
h
->
intra16x16_pred_mode
](
dest_y
,
linesize
);
if
(
is_h264
)
{
if
(
is_h264
)
{
...
...
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