Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-07-30 16:00:32 +0300
committerDiego Biurrun <diego@biurrun.de>2016-08-17 13:16:42 +0300
commit17cb56b35672a2cd6ad7abe926e6cc772b8f4710 (patch)
tree9fcec63b17c54eea408b77ce561f7397a846ab4d /libavcodec/ffv1enc.c
parentb96f0ab3d29cdd9ea9ddabfb2052f72bf8615661 (diff)
ffv1: Remove broken disabled cruft
Diffstat (limited to 'libavcodec/ffv1enc.c')
-rw-r--r--libavcodec/ffv1enc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index 3bc22ed1e5..0eeccfffb4 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -151,14 +151,7 @@ static inline void put_vlc_symbol(PutBitContext *pb, VlcState *const state,
assert(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);