aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp8.c
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/vp8.c
parentf1c167496e41cabc2bd1b890b149e4b34648cad6 (diff)
downloadffmpeg-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/vp8.c')
-rw-r--r--libavcodec/vp8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index cbd85cc8aa..6547eb90a5 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -1153,7 +1153,7 @@ void decode_mb_mode(VP8Context *s, VP8Macroblock *mb, int mb_x, int mb_y,
*segment = 0;
for (i = 0; i < 4; i++) {
if (s->feature_enabled[i]) {
- if (vp56_rac_get_prob(c, s->feature_present_prob[i])) {
+ if (vp56_rac_get_prob_branchy(c, s->feature_present_prob[i])) {
int index = vp8_rac_get_tree(c, vp7_feature_index_tree,
s->feature_index_prob[i]);
av_log(s->avctx, AV_LOG_WARNING,