diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:08:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:08:00 +0200 |
commit | 854add5efd6655279473f7531391a051680be979 (patch) | |
tree | b86a817ad206976ad37ad914708ce9148d5325f6 /avmedia | |
parent | 8d725ca4acad24dbaee84f09d3bb7e9fc35c641c (diff) |
loplugin:casttovoid
Change-Id: If1be399a3d310ab6abab6d7e4c8d59dc9648c1a0
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/macavf/window.mm | 2 |
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; |