Commit 6d69e9c9 authored by Nathan E. Egge's avatar Nathan E. Egge Committed by Nathan Egge
Browse files

Fix -Wdeclaration-after-statement warning.

Change the code to remove the "mixed declarations and code" warning.

Change-Id: Ib4efa81855ef0e9cc3de401f5671b7e64b189784
parent 52861adc
......@@ -101,8 +101,8 @@ static INLINE void aom_write_tree(aom_writer *w, const aom_tree_index *tree,
static INLINE void aom_write_symbol(aom_writer *w, int symb,
const aom_cdf_prob *cdf, int nsymbs) {
#if CONFIG_RANS
(void)nsymbs;
struct rans_sym s;
(void)nsymbs;
assert(cdf);
s.cum_prob = cdf[symb];
s.prob = cdf[symb + 1] - s.cum_prob;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment