Browse Source

decklink: Fix mingw compiler warnings

jp9000 10 years ago
parent
commit
845a9d2f1a

+ 4 - 0
plugins/decklink/decklink-device-instance.cpp

@@ -19,6 +19,10 @@ DeckLinkDeviceInstance::DeckLinkDeviceInstance(DeckLink *decklink_,
 	currentPacket.format          = AUDIO_FORMAT_16BIT;
 }
 
+DeckLinkDeviceInstance::~DeckLinkDeviceInstance()
+{
+}
+
 void DeckLinkDeviceInstance::HandleAudioPacket(
 		IDeckLinkAudioInputPacket *audioPacket,
 		const uint64_t timestamp)

+ 1 - 0
plugins/decklink/decklink-device-instance.hpp

@@ -19,6 +19,7 @@ protected:
 
 public:
 	DeckLinkDeviceInstance(DeckLink *decklink, DeckLinkDevice *device);
+	virtual ~DeckLinkDeviceInstance();
 
 	inline DeckLinkDevice *GetDevice() const {return device;}
 	inline long long GetActiveModeId() const