Commit 01e18876 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '83b92a85'

* commit '83b92a85':
  golomb: Drop disabled cruft
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents a754fae4 83b92a85
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment