summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-07 08:08:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-07 08:08:00 +0200
commit854add5efd6655279473f7531391a051680be979 (patch)
treeb86a817ad206976ad37ad914708ce9148d5325f6 /avmedia
parent8d725ca4acad24dbaee84f09d3bb7e9fc35c641c (diff)
loplugin:casttovoid
Change-Id: If1be399a3d310ab6abab6d7e4c8d59dc9648c1a0
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/macavf/window.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/avmedia/source/macavf/window.mm b/avmedia/source/macavf/window.mm
index 6807aadbfb2e..46f9c4c50669 100644
--- a/avmedia/source/macavf/window.mm
+++ b/avmedia/source/macavf/window.mm
@@ -44,8 +44,6 @@ Window::Window( const uno::Reference< lang::XMultiServiceFactory >& i_rxMgr, Pla
AVPlayer* pAVPlayer = mrPlayer.getAVPlayer();
AVAsset* pMovie = [[pAVPlayer currentItem] asset];
const int nVideoCount = [pMovie tracksWithMediaType:AVMediaTypeVideo].count;
- const int nAudioCount = [pMovie tracksWithMediaType:AVMediaTypeAudio].count;
- (void)nAudioCount;
if( nVideoCount <= 0 )
return;