diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-02-18 15:53:59 +0100 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-02-18 15:53:59 +0100 |
commit | 16d5e29531c0f383dc5d2622a4167d7995f3bf85 (patch) | |
tree | 321f412efd2aa5fc98ca33e4d3fde85d0f03fc77 /dxr3audiodecoder.h | |
parent | 60f7d9a84f3e4143839691f3c3199517e42d9c39 (diff) | |
download | vdr-plugin-dxr3-16d5e29531c0f383dc5d2622a4167d7995f3bf85.tar.gz vdr-plugin-dxr3-16d5e29531c0f383dc5d2622a4167d7995f3bf85.tar.bz2 |
introduce Uncopyable class
Diffstat (limited to 'dxr3audiodecoder.h')
-rw-r--r-- | dxr3audiodecoder.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dxr3audiodecoder.h b/dxr3audiodecoder.h index fd9dc6b..f2063b9 100644 --- a/dxr3audiodecoder.h +++ b/dxr3audiodecoder.h @@ -29,11 +29,11 @@ #include "dxr3ffmpeg.h" #include "dxr3syncbuffer.h" #include "dxr3multichannelaudio.h" +#include "Uncopyable.h" // ================================== // decode audio to mp2 or use DD :) -class cDxr3AudioDecoder -{ +class cDxr3AudioDecoder : private Uncopyable { public: cDxr3AudioDecoder(); ~cDxr3AudioDecoder(); @@ -72,8 +72,6 @@ private: int channels; uint8_t lastHeader[4]; uint8_t pcmbuf[AVCODEC_MAX_AUDIO_FRAME_SIZE]; - - cDxr3AudioDecoder(cDxr3AudioDecoder&); // no copy constructor }; #endif /*_DXR3_AUDIODECODER_H_*/ |