summaryrefslogtreecommitdiffstats
path: root/libavcodec/vp56.h
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2014-04-07 16:57:08 +1000
committerMichael Niedermayer <michaelni@gmx.at>2014-05-13 16:04:08 +0200
commitcef99e12bc49b252473ca70ca5aa6ad7ef3be39b (patch)
treeca3d09a3ad5defb20a0684da3fd1ce7304df26d1 /libavcodec/vp56.h
parentf1c167496e41cabc2bd1b890b149e4b34648cad6 (diff)
downloadffmpeg-streaming-cef99e12bc49b252473ca70ca5aa6ad7ef3be39b.zip
ffmpeg-streaming-cef99e12bc49b252473ca70ca5aa6ad7ef3be39b.tar.gz
Use rac_get_prob branchy version when used within a conditional branch.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp56.h')
-rw-r--r--libavcodec/vp56.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h
index adbdbd2..1af5eaf 100644
--- a/libavcodec/vp56.h
+++ b/libavcodec/vp56.h
@@ -363,7 +363,7 @@ int vp56_rac_get_tree(VP56RangeCoder *c,
const uint8_t *probs)
{
while (tree->val > 0) {
- if (vp56_rac_get_prob(c, probs[tree->prob_idx]))
+ if (vp56_rac_get_prob_branchy(c, probs[tree->prob_idx]))
tree += tree->val;
else
tree++;
OpenPOWER on IntegriCloud