diff options
author | austriancoder <austriancoder> | 2005-01-03 10:20:44 +0000 |
---|---|---|
committer | austriancoder <austriancoder> | 2005-01-03 10:20:44 +0000 |
commit | bc55e3d58033434df1b5af53ceba8697f475f43d (patch) | |
tree | 2d2f1317038e68c2a490a1df9743be447f9dd45e /dxr3audiodecoder.c | |
parent | 362460f0e4c99d87151b4b64a7b87cc5f5de00df (diff) | |
download | vdr-plugin-dxr3-bc55e3d58033434df1b5af53ceba8697f475f43d.tar.gz vdr-plugin-dxr3-bc55e3d58033434df1b5af53ceba8697f475f43d.tar.bz2 |
ironed out some compile errors
Diffstat (limited to 'dxr3audiodecoder.c')
-rw-r--r-- | dxr3audiodecoder.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dxr3audiodecoder.c b/dxr3audiodecoder.c index a4ee123..b9a0b66 100644 --- a/dxr3audiodecoder.c +++ b/dxr3audiodecoder.c @@ -146,7 +146,7 @@ void cDxr3AudioDecoder::Decode(const uint8_t* buf, int length, uint32_t pts, cDx if (m_Codec.codec_context.sample_rate != m_Rate) { cLog::Instance() << "cDxr3AudioDecoder::Decode Sample rate = " << m_Codec.codec_context.sample_rate << "\n"; - if (rate != -1) throw UNEXPECTED_PARAMETER_CHANGE; + if (m_Rate != -1) throw UNEXPECTED_PARAMETER_CHANGE; m_Rate = m_Codec.codec_context.sample_rate; } if (m_Codec.codec_context.channels != m_Channels+1 ) @@ -157,9 +157,9 @@ void cDxr3AudioDecoder::Decode(const uint8_t* buf, int length, uint32_t pts, cDx } if (out_size) { - cFixedLengthFrame* pTempFrame = aBuf.Push(PcmBuf, out_size, pts); - pTempFrame->SetChannelCount(channels); - pTempFrame->SetDataRate(rate); + cFixedLengthFrame* pTempFrame = aBuf.Push(m_PcmBuf, out_size, pts); + pTempFrame->SetChannelCount(m_Channels); + pTempFrame->SetDataRate(m_Rate); } length -= len; buf += len; |