summaryrefslogtreecommitdiff
path: root/dxr3audiodecoder.c
diff options
context:
space:
mode:
authorscop <scop>2005-03-23 19:21:14 +0000
committerscop <scop>2005-03-23 19:21:14 +0000
commit7b10af91586041382acfd8995f8589caa5c4b318 (patch)
tree03b8433f69d619c71c6142d6de817de4815f2c38 /dxr3audiodecoder.c
parent8bda0857c1c41daedc82046e18f35a331148588c (diff)
downloadvdr-plugin-dxr3-7b10af91586041382acfd8995f8589caa5c4b318.tar.gz
vdr-plugin-dxr3-7b10af91586041382acfd8995f8589caa5c4b318.tar.bz2
Sync std:: fixes from HEAD.
Diffstat (limited to 'dxr3audiodecoder.c')
-rw-r--r--dxr3audiodecoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dxr3audiodecoder.c b/dxr3audiodecoder.c
index 25ccd31..e341e2a 100644
--- a/dxr3audiodecoder.c
+++ b/dxr3audiodecoder.c
@@ -110,7 +110,7 @@ void cDxr3AudioDecoder::Decode(const uint8_t* buf, int length, uint32_t pts, cDx
if ((buf[i+2] & 0xFC) != (lastHeader[2] & 0xFC))
{
cLog::Instance() << "cDxr3AudioDecoder::Decode Found different audio header -> init\n";
- cLog::Instance() << "cDxr3AduioDecoder::Decode Old header 0x" << hex << *((uint32_t*) lastHeader) << " new header 0x" << *((uint32_t*) (buf+i))<< dec << "\n";
+ cLog::Instance() << "cDxr3AudioDecoder::Decode Old header 0x" << std::hex << *((uint32_t*) lastHeader) << " new header 0x" << *((uint32_t*) (buf+i)) << std::dec << "\n";
Init();
lastHeader[0] = buf[i];
@@ -255,7 +255,7 @@ void cDxr3AudioDecoder::DecodeAc3Dts(const uint8_t* pPes, const uint8_t* buf, in
for (int i = 0; i < pFrame->Count() - pesHeaderLength - LPCM_HEADER_LENGTH; i += 2)
{
- swap(pData[i], pData[i + 1]);
+ std::swap(pData[i], pData[i + 1]);
}
aBuf.Push(pFrame->Data() + pesHeaderLength + LPCM_HEADER_LENGTH, pFrame->Count() - pesHeaderLength - 7, tempPes.GetPts());