summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1dec.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-19 15:58:43 +0100
committerClément Bœsch <u@pkh.me>2017-03-19 15:58:43 +0100
commit2f42aef3e40c03699bab028c8951f8d2fbc85540 (patch)
tree8495a186a6eee07cb725e1fbd219ba76aa8b1055 /libavcodec/ffv1dec.c
parentb6e88bf323bb2b23f5f1e29547aa61fa2c1e2e2c (diff)
parent17cb56b35672a2cd6ad7abe926e6cc772b8f4710 (diff)
Merge commit '17cb56b35672a2cd6ad7abe926e6cc772b8f4710'
* commit '17cb56b35672a2cd6ad7abe926e6cc772b8f4710': ffv1: Remove broken disabled cruft Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/ffv1dec.c')
-rw-r--r--libavcodec/ffv1dec.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index 31433e3782..7f1bc4fcf4 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -83,12 +83,7 @@ static inline int get_vlc_symbol(GetBitContext *gb, VlcState *const state,
ff_dlog(NULL, "v:%d bias:%d error:%d drift:%d count:%d k:%d",
v, state->bias, state->error_sum, state->drift, state->count, k);
-#if 0 // JPEG LS
- if (k == 0 && 2 * state->drift <= -state->count)
- v ^= (-1);
-#else
v ^= ((2 * state->drift + state->count) >> 31);
-#endif
ret = fold(v + state->bias, bits);