summaryrefslogtreecommitdiff
path: root/apps/codecs/libwma/bitstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libwma/bitstream.c')
-rw-r--r--apps/codecs/libwma/bitstream.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/codecs/libwma/bitstream.c b/apps/codecs/libwma/bitstream.c
index 618148b..25b98b9 100644
--- a/apps/codecs/libwma/bitstream.c
+++ b/apps/codecs/libwma/bitstream.c
@@ -30,6 +30,8 @@
#include "bitstream.h"
#include <codecs/lib/codeclib.h>
+/* this stuff is unused */
+#if 0
/**
* Same as av_mallocz_static(), but does a realloc.
*
@@ -79,6 +81,7 @@ void ff_put_string(PutBitContext * pbc, char *s, int put_zero)
if(put_zero)
put_bits(pbc, 8, 0);
}
+#endif
/* VLC decoding */
@@ -247,9 +250,8 @@ int init_vlc(VLC *vlc, int nb_bits, int nb_codes,
const void *codes, int codes_wrap, int codes_size,
int flags)
{
-
vlc->bits = nb_bits;
- vlc->table_size = 0;
+ vlc->table_size = 0;
#ifdef DEBUG_VLC
printf("build table nb_codes=%d\n", nb_codes);