[vlc-commits] vdpau: do not return void

Rémi Denis-Courmont git at videolan.org
Fri Dec 21 23:17:46 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Dec 21 23:51:56 2018 +0200| [90967dedf016e931836403c2bbf9f8fdc3aad20f] | committer: Rémi Denis-Courmont

vdpau: do not return void

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90967dedf016e931836403c2bbf9f8fdc3aad20f
---

 modules/hw/vdpau/vlc_vdpau.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/vdpau/vlc_vdpau.h b/modules/hw/vdpau/vlc_vdpau.h
index bdb61b51f5..11070d2228 100644
--- a/modules/hw/vdpau/vlc_vdpau.h
+++ b/modules/hw/vdpau/vlc_vdpau.h
@@ -285,7 +285,7 @@ vlc_vdp_video_field_t *vlc_vdp_video_create(vdp_t *, VdpVideoSurface);
 
 static inline void vlc_vdp_video_destroy(vlc_vdp_video_field_t *f)
 {
-    return f->context.destroy(&f->context);
+    f->context.destroy(&f->context);
 }
 
 /**



More information about the vlc-commits mailing list