summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/vl/vp8/decoder/treereader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/vl/vp8/decoder/treereader.h')
-rw-r--r--src/gallium/auxiliary/vl/vp8/decoder/treereader.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/vl/vp8/decoder/treereader.h b/src/gallium/auxiliary/vl/vp8/decoder/treereader.h
index c216ec27f1..67836d4359 100644
--- a/src/gallium/auxiliary/vl/vp8/decoder/treereader.h
+++ b/src/gallium/auxiliary/vl/vp8/decoder/treereader.h
@@ -23,13 +23,12 @@ typedef BOOL_DECODER vp8_reader;
/* Intent of tree data structure is to make decoding trivial. */
-static int vp8_treed_read(vp8_reader *const r, /* !!! must return a 0 or 1 !!! */
- vp8_tree t,
- const vp8_prob *const p)
+/** must return a 0 or 1 !!! */
+static int vp8_treed_read(vp8_reader *const r, vp8_tree t, const vp8_prob *const p)
{
register vp8_tree_index i = 0;
- while ((i = t[ i + vp8_read(r, p[i>>1])]) > 0) ;
+ while ((i = t[i + vp8_read(r, p[i >> 1])]) > 0);
return -i;
}