summaryrefslogtreecommitdiff
path: root/libavcodec/golomb.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-19 03:23:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-19 03:25:53 +0200
commitd0ac2f59aa36709e14e399ada566b5a838f98ef0 (patch)
treeb84c100f147bb970c1078882f7f3b86cf6354c7f /libavcodec/golomb.h
parent8ea9334b31546880dfd2b5dc49497b8da9a620bf (diff)
downloadffmpeg-d0ac2f59aa36709e14e399ada566b5a838f98ef0.tar.gz
avcodec/golomb: Remove disabled and broken code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/golomb.h')
-rw-r--r--libavcodec/golomb.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h
index d8c1a4145e..d30bb6bc86 100644
--- a/libavcodec/golomb.h
+++ b/libavcodec/golomb.h
@@ -465,12 +465,6 @@ static inline void set_ue_golomb(PutBitContext *pb, int i)
{
av_assert2(i >= 0);
-#if 0
- if (i = 0) {
- put_bits(pb, 1, 1);
- return;
- }
-#endif
if (i < 256)
put_bits(pb, ff_ue_golomb_len[i], i + 1);
else {