Merge commit '17cb56b35672a2cd6ad7abe926e6cc772b8f4710'
authorClément Bœsch <u@pkh.me>
Sun, 19 Mar 2017 14:58:43 +0000 (15:58 +0100)
committerClément Bœsch <u@pkh.me>
Sun, 19 Mar 2017 14:58:43 +0000 (15:58 +0100)
* commit '17cb56b35672a2cd6ad7abe926e6cc772b8f4710':
  ffv1: Remove broken disabled cruft

Merged-by: Clément Bœsch <u@pkh.me>
1  2 
libavcodec/ffv1dec.c
libavcodec/ffv1enc.c

Simple merge
@@@ -250,16 -149,9 +250,9 @@@ static inline void put_vlc_symbol(PutBi
          i += i;
      }
  
 -    assert(k <= 13);
 +    av_assert2(k <= 13);
  
- #if 0 // JPEG LS
-     if (k == 0 && 2 * state->drift <= -state->count)
-         code = v ^ (-1);
-     else
-         code = v;
- #else
      code = v ^ ((2 * state->drift + state->count) >> 31);
- #endif
  
      ff_dlog(NULL, "v:%d/%d bias:%d error:%d drift:%d count:%d k:%d\n", v, code,
              state->bias, state->error_sum, state->drift, state->count, k);