summaryrefslogtreecommitdiffstats
path: root/libtoolame-dab/bitstream.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-15 04:34:28 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-15 04:34:28 +0100
commit5671aa4f0f5536de2fc58b6f89f01947f4f8f1c1 (patch)
treeb1bddbfac8bd69c733faf734803e7f1842285e22 /libtoolame-dab/bitstream.c
parentba346d2469facf500cbcaa9cf9117ce04ea0b6da (diff)
downloadfdk-aac-5671aa4f0f5536de2fc58b6f89f01947f4f8f1c1.tar.gz
fdk-aac-5671aa4f0f5536de2fc58b6f89f01947f4f8f1c1.tar.bz2
fdk-aac-5671aa4f0f5536de2fc58b6f89f01947f4f8f1c1.zip
Remove useless libtoolame-dab files
Diffstat (limited to 'libtoolame-dab/bitstream.c')
-rw-r--r--libtoolame-dab/bitstream.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libtoolame-dab/bitstream.c b/libtoolame-dab/bitstream.c
index 4346d60..410ef5b 100644
--- a/libtoolame-dab/bitstream.c
+++ b/libtoolame-dab/bitstream.c
@@ -1,7 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "zmqoutput.h"
#include "common.h"
#include "mem.h"
#include "bitstream.h"
@@ -112,10 +111,6 @@ void empty_buffer (Bit_stream_struc * bs, int minimum)
fflush (bs->pt); /* NEW SS to assist in debugging */
}
- else if (bs->zmq_sock) {
- for (i = bs->buf_size - 1; i >= minimum; i--)
- zmqoutput_write_byte(bs, bs->buf[i]);
- }
for (i = minimum - 1; i >= 0; i--)
bs->buf[bs->buf_size - minimum + i] = bs->buf[i];
@@ -129,8 +124,6 @@ void empty_buffer (Bit_stream_struc * bs, int minimum)
/* open the device to write the bit stream into it */
void open_bit_stream_w (Bit_stream_struc * bs, int size)
{
- bs->zmq_sock = NULL;
-
bs->pt = NULL; // we're not using file output
alloc_buffer (bs, size);
bs->buf_byte_idx = size - 1;
@@ -147,7 +140,6 @@ void close_bit_stream_w (Bit_stream_struc * bs)
putbits (bs, 0, 7);
empty_buffer (bs, bs->buf_byte_idx + 1);
if (bs->pt) fclose(bs->pt);
- zmqoutput_close(bs);
desalloc_buffer (bs);
}