diff options
-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; |