Module: wine Branch: master Commit: bf12844bf19ba15a10271cb7f1feec802933eeca URL: http://source.winehq.org/git/wine.git/?a=commit;h=bf12844bf19ba15a10271cb7f1...
Author: André Hentschel nerv@dawncrow.de Date: Mon Dec 1 22:59:14 2014 +0100
quartz: Remove unused code (Clang).
---
dlls/quartz/acmwrapper.c | 5 ----- dlls/quartz/avidec.c | 5 ----- dlls/quartz/dsoundrender.c | 1 - dlls/quartz/mpegsplit.c | 1 - 4 files changed, 12 deletions(-)
diff --git a/dlls/quartz/acmwrapper.c b/dlls/quartz/acmwrapper.c index cd0b0d8..5bc0d8f 100644 --- a/dlls/quartz/acmwrapper.c +++ b/dlls/quartz/acmwrapper.c @@ -58,11 +58,6 @@ static inline ACMWrapperImpl *impl_from_TransformFilter( TransformFilter *iface return CONTAINING_RECORD(iface, ACMWrapperImpl, tf.filter); }
-static inline ACMWrapperImpl *impl_from_IBaseFilter( IBaseFilter *iface ) -{ - return CONTAINING_RECORD(iface, ACMWrapperImpl, tf.filter.IBaseFilter_iface); -} - static HRESULT WINAPI ACMWrapper_Receive(TransformFilter *tf, IMediaSample *pSample) { ACMWrapperImpl* This = impl_from_TransformFilter(tf); diff --git a/dlls/quartz/avidec.c b/dlls/quartz/avidec.c index 30da6fa..5047809 100644 --- a/dlls/quartz/avidec.c +++ b/dlls/quartz/avidec.c @@ -52,11 +52,6 @@ typedef struct AVIDecImpl
static const IBaseFilterVtbl AVIDec_Vtbl;
-static inline AVIDecImpl *impl_from_IBaseFilter( IBaseFilter *iface ) -{ - return CONTAINING_RECORD(iface, AVIDecImpl, tf.filter.IBaseFilter_iface); -} - static inline AVIDecImpl *impl_from_TransformFilter( TransformFilter *iface ) { return CONTAINING_RECORD(iface, AVIDecImpl, tf.filter); diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c index 2914b15..9f96654 100644 --- a/dlls/quartz/dsoundrender.c +++ b/dlls/quartz/dsoundrender.c @@ -46,7 +46,6 @@ static const REFERENCE_TIME DSoundRenderer_Max_Fill = 150 * 10000; static const IBaseFilterVtbl DSoundRender_Vtbl; static const IBasicAudioVtbl IBasicAudio_Vtbl; static const IReferenceClockVtbl IReferenceClock_Vtbl; -static const IMediaSeekingVtbl IMediaSeeking_Vtbl; static const IAMDirectSoundVtbl IAMDirectSound_Vtbl; static const IAMFilterMiscFlagsVtbl IAMFilterMiscFlags_Vtbl;
diff --git a/dlls/quartz/mpegsplit.c b/dlls/quartz/mpegsplit.c index de03d17..6f09822 100644 --- a/dlls/quartz/mpegsplit.c +++ b/dlls/quartz/mpegsplit.c @@ -96,7 +96,6 @@ static int MPEGSplitter_head_check(const BYTE *header) }
static const WCHAR wszAudioStream[] = {'A','u','d','i','o',0}; -static const WCHAR wszVideoStream[] = {'V','i','d','e','o',0};
static const DWORD freqs[10] = { 44100, 48000, 32000, 22050, 24000, 16000, 11025, 12000, 8000, 0 };