[FFmpeg-cvslog] Merge commit '83b92a855e8e08bdec484e13ee5a7c8996224772'
Clément Bœsch
git at videolan.org
Sun Mar 19 17:13:23 EET 2017
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sun Mar 19 16:12:41 2017 +0100| [01e188762fc4f57cda26a09f63e2d4a4b4bd753e] | committer: Clément Bœsch
Merge commit '83b92a855e8e08bdec484e13ee5a7c8996224772'
* commit '83b92a855e8e08bdec484e13ee5a7c8996224772':
golomb: Drop disabled cruft
Merged-by: Clément Bœsch <u at pkh.me>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=01e188762fc4f57cda26a09f63e2d4a4b4bd753e
---
libavcodec/golomb.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h
index d9db831..513d652 100644
--- a/libavcodec/golomb.h
+++ b/libavcodec/golomb.h
@@ -489,19 +489,9 @@ static inline void set_te_golomb(PutBitContext *pb, int i, int range)
*/
static inline void set_se_golomb(PutBitContext *pb, int i)
{
-#if 0
- if (i <= 0)
- i = -2 * i;
- else
- i = 2 * i - 1;
-#elif 1
i = 2 * i - 1;
if (i < 0)
i ^= -1; //FIXME check if gcc does the right thing
-#else
- i = 2 * i - 1;
- i ^= (i >> 31);
-#endif
set_ue_golomb(pb, i);
}
======================================================================
More information about the ffmpeg-cvslog
mailing list