Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DVDAudioCodec(L)Pcm: Disable copying of the class.

  • Loading branch information...
commit 4e76df41d0323797d2f74200030f012963fb61b9 1 parent 95f0fa3
@aballier aballier authored
View
4 xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecLPcm.h
@@ -39,4 +39,8 @@ class CDVDAudioCodecLPcm : public CDVDAudioCodecPcm
uint8_t *m_buffer;
AVCodecID m_codecID;
+
+private:
+ CDVDAudioCodecLPcm(const CDVDAudioCodecLPcm&);
+ CDVDAudioCodecLPcm const& operator=(CDVDAudioCodecLPcm const&);
};
View
4 xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPcm.h
@@ -53,4 +53,8 @@ class CDVDAudioCodecPcm : public CDVDAudioCodec
int m_iOutputChannels;
short table[256];
+
+private:
+ CDVDAudioCodecPcm(const CDVDAudioCodecPcm&);
+ CDVDAudioCodecPcm const& operator=(CDVDAudioCodecPcm const&);
};
Please sign in to comment.
Something went wrong with that request. Please try again.