[vlc-commits] display: the deactivate of the module doesn't need to return a value
Steve Lhomme
git at videolan.org
Mon Jul 22 07:20:49 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Jul 10 10:37:29 2019 +0200| [0db9f0812ad2e1ebaeda67c113514d1ca08c1708] | committer: Steve Lhomme
display: the deactivate of the module doesn't need to return a value
In fact it never does.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0db9f0812ad2e1ebaeda67c113514d1ca08c1708
---
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;
More information about the vlc-commits
mailing list