[vlc-devel] [PATCH 1/3] display: the deactivate of the module doesn't need to return a value

Steve Lhomme robux4 at ycbcr.xyz
Fri Jul 19 15:35:38 CEST 2019


In fact it never does.
---
 include/vlc_vout_display.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h
index 27584f7ffe..be0971a1ef 100644
--- a/include/vlc_vout_display.h
+++ b/include/vlc_vout_display.h
@@ -213,7 +213,7 @@ typedef int (*vout_display_open_cb)(vout_display_t *vd,
  *
  * @param vd vout display context
  */
-typedef int (*vout_display_close_cb)(vout_display_t *vd);
+typedef void (*vout_display_close_cb)(vout_display_t *vd);
 
 struct vout_display_t {
     struct vlc_object_t obj;
-- 
2.17.1



More information about the vlc-devel mailing list