[vlc-commits] window: resize callback cannot be NULL
Rémi Denis-Courmont
git at videolan.org
Sun May 20 19:51:05 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 16 21:15:07 2018 +0300| [fa02a8902733a7a167cb798650750fe6df4cd3f3] | committer: Rémi Denis-Courmont
window: resize callback cannot be NULL
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fa02a8902733a7a167cb798650750fe6df4cd3f3
---
include/vlc_vout_window.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/vlc_vout_window.h b/include/vlc_vout_window.h
index 0c79ea8152..28e236cf47 100644
--- a/include/vlc_vout_window.h
+++ b/include/vlc_vout_window.h
@@ -296,8 +296,7 @@ static inline int vout_window_HideMouse(vout_window_t *window, bool hide)
static inline void vout_window_ReportSize(vout_window_t *window,
unsigned width, unsigned height)
{
- if (window->owner.resized != NULL)
- window->owner.resized(window, width, height);
+ window->owner.resized(window, width, height);
}
static inline void vout_window_ReportClose(vout_window_t *window)
More information about the vlc-commits
mailing list