Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
8c2a6cac
Commit
8c2a6cac
authored
Aug 21, 2012
by
Daniel Kang
Browse files
Fix compiler warnings
Change-Id: I887cdcf90b87736f2a3805420aa41eed93324bee
parent
2a050620
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp8/decoder/detokenize.c
View file @
8c2a6cac
...
...
@@ -295,6 +295,7 @@ static int vp8_decode_coefs(VP8D_COMP *dx, const MACROBLOCKD *xd,
const
vp8_prob
*
prob
,
*
coef_probs
;
switch
(
block_type
)
{
default:
case
TX_4X4
:
coef_probs
=
fc
->
coef_probs
[
type
][
0
][
0
];
break
;
...
...
@@ -302,7 +303,7 @@ static int vp8_decode_coefs(VP8D_COMP *dx, const MACROBLOCKD *xd,
coef_probs
=
fc
->
coef_probs_8x8
[
type
][
0
][
0
];
break
;
#if CONFIG_TX16X16
default
:
case
TX_16X16
:
coef_probs
=
fc
->
coef_probs_16x16
[
type
][
0
][
0
];
break
;
#endif
...
...
vp8/encoder/rdopt.c
View file @
8c2a6cac
...
...
@@ -2943,7 +2943,7 @@ void vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset, int
int
uv_intra_rate_8x8
=
0
,
uv_intra_distortion_8x8
=
0
,
uv_intra_rate_tokenonly_8x8
=
0
;
int
uv_intra_skippable_8x8
=
0
;
int
rate_y
,
UNINITIALIZED_IS_SAFE
(
rate_uv
);
int
distortion_uv
;
int
distortion_uv
=
INT_MAX
;
int64_t
best_yrd
=
INT64_MAX
;
#if CONFIG_PRED_FILTER
int
best_filter_state
;
...
...
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