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

Steve Lhomme robux4 at ycbcr.xyz
Wed Jul 10 10:39:05 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 aa00003c8e..fd4940cf6d 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