diff options
author | Matt Oliver <protogonoi@gmail.com> | 2014-04-07 16:57:08 +1000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-13 16:04:08 +0200 |
commit | cef99e12bc49b252473ca70ca5aa6ad7ef3be39b (patch) | |
tree | ca3d09a3ad5defb20a0684da3fd1ce7304df26d1 /libavcodec/vp56.h | |
parent | f1c167496e41cabc2bd1b890b149e4b34648cad6 (diff) | |
download | ffmpeg-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h index adbdbd236a..1af5eaf502 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++; |