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
1542ec96
Commit
1542ec96
authored
Aug 07, 2015
by
Paolo Bizzarri
Committed by
Luca Barbato
Aug 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: Drop spurious spaces from if clauses
Signed-off-by:
Luca Barbato
<
lu_zero@gentoo.org
>
parent
0f562f5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vc1_block.c
libavcodec/vc1_block.c
+4
-4
No files found.
libavcodec/vc1_block.c
View file @
1542ec96
...
@@ -822,11 +822,11 @@ static int vc1_decode_i_block_adv(VC1Context *v, int16_t block[64], int n,
...
@@ -822,11 +822,11 @@ static int vc1_decode_i_block_adv(VC1Context *v, int16_t block[64], int n,
ac_val
-=
16
*
s
->
block_wrap
[
n
];
ac_val
-=
16
*
s
->
block_wrap
[
n
];
q1
=
s
->
current_picture
.
qscale_table
[
mb_pos
];
q1
=
s
->
current_picture
.
qscale_table
[
mb_pos
];
if
(
dc_pred_dir
&&
c_avail
&&
mb_pos
)
if
(
dc_pred_dir
&&
c_avail
&&
mb_pos
)
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
1
];
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
1
];
if
(
!
dc_pred_dir
&&
a_avail
&&
mb_pos
>=
s
->
mb_stride
)
if
(
!
dc_pred_dir
&&
a_avail
&&
mb_pos
>=
s
->
mb_stride
)
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
s
->
mb_stride
];
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
s
->
mb_stride
];
if
(
dc_pred_dir
&&
n
==
1
)
if
(
dc_pred_dir
&&
n
==
1
)
q2
=
q1
;
q2
=
q1
;
if
(
!
dc_pred_dir
&&
n
==
2
)
if
(
!
dc_pred_dir
&&
n
==
2
)
q2
=
q1
;
q2
=
q1
;
...
@@ -1049,7 +1049,7 @@ static int vc1_decode_intra_block(VC1Context *v, int16_t block[64], int n,
...
@@ -1049,7 +1049,7 @@ static int vc1_decode_intra_block(VC1Context *v, int16_t block[64], int n,
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
1
];
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
1
];
if
(
!
dc_pred_dir
&&
a_avail
&&
mb_pos
>=
s
->
mb_stride
)
if
(
!
dc_pred_dir
&&
a_avail
&&
mb_pos
>=
s
->
mb_stride
)
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
s
->
mb_stride
];
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
s
->
mb_stride
];
if
(
dc_pred_dir
&&
n
==
1
)
if
(
dc_pred_dir
&&
n
==
1
)
q2
=
q1
;
q2
=
q1
;
if
(
!
dc_pred_dir
&&
n
==
2
)
if
(
!
dc_pred_dir
&&
n
==
2
)
q2
=
q1
;
q2
=
q1
;
...
@@ -2783,7 +2783,7 @@ static void vc1_decode_i_blocks_adv(VC1Context *v)
...
@@ -2783,7 +2783,7 @@ static void vc1_decode_i_blocks_adv(VC1Context *v)
if
(
v
->
fieldtx_is_raw
)
if
(
v
->
fieldtx_is_raw
)
v
->
fieldtx_plane
[
mb_pos
]
=
get_bits1
(
&
v
->
s
.
gb
);
v
->
fieldtx_plane
[
mb_pos
]
=
get_bits1
(
&
v
->
s
.
gb
);
cbp
=
get_vlc2
(
&
v
->
s
.
gb
,
ff_msmp4_mb_i_vlc
.
table
,
MB_INTRA_VLC_BITS
,
2
);
cbp
=
get_vlc2
(
&
v
->
s
.
gb
,
ff_msmp4_mb_i_vlc
.
table
,
MB_INTRA_VLC_BITS
,
2
);
if
(
v
->
acpred_is_raw
)
if
(
v
->
acpred_is_raw
)
v
->
s
.
ac_pred
=
get_bits1
(
&
v
->
s
.
gb
);
v
->
s
.
ac_pred
=
get_bits1
(
&
v
->
s
.
gb
);
else
else
v
->
s
.
ac_pred
=
v
->
acpred_plane
[
mb_pos
];
v
->
s
.
ac_pred
=
v
->
acpred_plane
[
mb_pos
];
...
...
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