diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:07:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:07:55 +0200 |
commit | 8d725ca4acad24dbaee84f09d3bb7e9fc35c641c (patch) | |
tree | c61938b9af3eeeaad23fc94af11e9556c9b4e2ec /avmedia | |
parent | e9febbc3200ee64af29c35b8fa692ac0251afa40 (diff) |
loplugin:oncevar
Change-Id: I030d23da9fedc067581d002ce899028e6f486cc7
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/vlc/wrapper/Common.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/EventManager.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/Instance.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/Media.cxx | 2 | ||||
-rw-r--r-- | avmedia/source/vlc/wrapper/Player.cxx | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/avmedia/source/vlc/wrapper/Common.cxx b/avmedia/source/vlc/wrapper/Common.cxx index 9dc366c9bcff..674f1803c6f8 100644 --- a/avmedia/source/vlc/wrapper/Common.cxx +++ b/avmedia/source/vlc/wrapper/Common.cxx @@ -25,7 +25,7 @@ namespace wrapper { bool Common::LoadSymbols() { - ApiMap VLC_COMMON_API[] = + ApiMap const VLC_COMMON_API[] = { SYM_MAP( libvlc_get_version ), SYM_MAP( libvlc_errmsg ) diff --git a/avmedia/source/vlc/wrapper/EventManager.cxx b/avmedia/source/vlc/wrapper/EventManager.cxx index 2b3cbe21fd51..585a72557c98 100644 --- a/avmedia/source/vlc/wrapper/EventManager.cxx +++ b/avmedia/source/vlc/wrapper/EventManager.cxx @@ -47,7 +47,7 @@ void EventManager::Handler( const libvlc_event_t *event, void *pData ) bool EventManager::LoadSymbols() { - ApiMap VLC_EVENT_MANAGER_API[] = + ApiMap const VLC_EVENT_MANAGER_API[] = { SYM_MAP( libvlc_media_player_event_manager ), SYM_MAP( libvlc_event_attach ), diff --git a/avmedia/source/vlc/wrapper/Instance.cxx b/avmedia/source/vlc/wrapper/Instance.cxx index db8f1c62c8ee..dec2ff75edea 100644 --- a/avmedia/source/vlc/wrapper/Instance.cxx +++ b/avmedia/source/vlc/wrapper/Instance.cxx @@ -25,7 +25,7 @@ namespace wrapper { bool Instance::LoadSymbols() { - ApiMap VLC_INSTANCE_API[] = + ApiMap const VLC_INSTANCE_API[] = { SYM_MAP( libvlc_new ), SYM_MAP( libvlc_release ), diff --git a/avmedia/source/vlc/wrapper/Media.cxx b/avmedia/source/vlc/wrapper/Media.cxx index 4ec575b3347c..84a0078aacdc 100644 --- a/avmedia/source/vlc/wrapper/Media.cxx +++ b/avmedia/source/vlc/wrapper/Media.cxx @@ -45,7 +45,7 @@ namespace bool Media::LoadSymbols() { - ApiMap VLC_MEDIA_API[] = + ApiMap const VLC_MEDIA_API[] = { SYM_MAP( libvlc_media_new_path ), SYM_MAP( libvlc_media_release ), diff --git a/avmedia/source/vlc/wrapper/Player.cxx b/avmedia/source/vlc/wrapper/Player.cxx index 868ada28fde5..ae49540baada 100644 --- a/avmedia/source/vlc/wrapper/Player.cxx +++ b/avmedia/source/vlc/wrapper/Player.cxx @@ -67,7 +67,7 @@ namespace wrapper { bool Player::LoadSymbols() { - ApiMap VLC_PLAYER_API[] = + ApiMap const VLC_PLAYER_API[] = { SYM_MAP( libvlc_media_player_new_from_media ), SYM_MAP( libvlc_media_player_release ), |