Commit 7fe7091a authored by Felix Paul Kühne's avatar Felix Paul Kühne

windowless mac: remove useless statics

parent 3a3bb49e
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
#define SHOW_BRANDING 1 #define SHOW_BRANDING 1
static CGImageRef createImageNamed(CFStringRef); CGImageRef createImageNamed(CFStringRef);
static CGImageRef createImageNamed(CFStringRef name) CGImageRef createImageNamed(CFStringRef name)
{ {
CFURLRef url = CFBundleCopyResourceURL(CFBundleGetBundleWithIdentifier(CFSTR("org.videolan.vlc-npapi-plugin")), name, CFSTR("png"), NULL); CFURLRef url = CFBundleCopyResourceURL(CFBundleGetBundleWithIdentifier(CFSTR("org.videolan.vlc-npapi-plugin")), name, CFSTR("png"), NULL);
...@@ -264,8 +264,8 @@ bool VlcWindowlessMac::handle_event(void *event) ...@@ -264,8 +264,8 @@ bool VlcWindowlessMac::handle_event(void *event)
float left = 0; float left = 0;
float top = 0; float top = 0;
static const size_t kComponentsPerPixel = 4; const size_t kComponentsPerPixel = 4;
static const size_t kBitsPerComponent = sizeof(unsigned char) * 8; const size_t kBitsPerComponent = sizeof(unsigned char) * 8;
CGRect rect; CGRect rect;
if (m_media_width != 0 && m_media_height != 0) { if (m_media_width != 0 && m_media_height != 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment