diff options
author | Stefan Pöschel <github@basicmaster.de> | 2015-05-07 20:35:00 +0200 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2015-05-07 20:35:00 +0200 |
commit | 76a07373d964433f4a9e22761a380fc297d726d4 (patch) | |
tree | bfca0d0130e34cacdf84ce8b745111b569d1d7e3 | |
parent | 12412e62ba6c0a34f953707e1886dc36661ca5a5 (diff) | |
download | etisnoop-76a07373d964433f4a9e22761a380fc297d726d4.tar.gz etisnoop-76a07373d964433f4a9e22761a380fc297d726d4.tar.bz2 etisnoop-76a07373d964433f4a9e22761a380fc297d726d4.zip |
Remove AAC ADTS output (960-transformation can't be signalled)
-rw-r--r-- | faad_decoder.cpp | 8 | ||||
-rw-r--r-- | faad_decoder.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/faad_decoder.cpp b/faad_decoder.cpp index f489c1d..5ca45fb 100644 --- a/faad_decoder.cpp +++ b/faad_decoder.cpp @@ -38,7 +38,6 @@ using namespace std; FaadDecoder::FaadDecoder() : m_data_len(0), m_fd(NULL), - m_aac(NULL), m_initialised(false) { } @@ -52,11 +51,6 @@ void FaadDecoder::open(string filename, bool ps_flag, bool aac_channel_mode, m_dac_rate = dac_rate; m_sbr_flag = sbr_flag; m_mpeg_surround_config = mpeg_surround_config; - - stringstream ss; - ss << filename << ".aac"; - - m_aac = fopen(ss.str().c_str(), "w"); } bool FaadDecoder::decode(vector<vector<uint8_t> > aus) @@ -140,8 +134,6 @@ bool FaadDecoder::decode(vector<vector<uint8_t> > aus) memcpy(&helpBuffer[7], &au[0], au.size() * sizeof (uint8_t)); - fwrite(helpBuffer, 1, vh.aac_frame_length, m_aac); - NeAACDecFrameInfo hInfo; int16_t* outBuffer; diff --git a/faad_decoder.h b/faad_decoder.h index 36e7594..1a14efb 100644 --- a/faad_decoder.h +++ b/faad_decoder.h @@ -102,7 +102,6 @@ class FaadDecoder std::string m_filename; FILE* m_fd; - FILE* m_aac; /* Data needed for FAAD */ bool m_ps_flag; |