[vlc-commits] sd: fix inverted parameter (fixes #18372)

Rémi Denis-Courmont git at videolan.org
Mon May 29 17:40:37 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon May 29 18:39:34 2017 +0300| [496d009285c35280abf93561834f84cb4429b973] | committer: Rémi Denis-Courmont

sd: fix inverted parameter (fixes #18372)

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

 include/vlc_services_discovery.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_services_discovery.h b/include/vlc_services_discovery.h
index 78aeed7c20..6f3dd77739 100644
--- a/include/vlc_services_discovery.h
+++ b/include/vlc_services_discovery.h
@@ -195,7 +195,7 @@ static inline void services_discovery_AddItemCat(services_discovery_t *sd,
                                                  input_item_t *item,
                                                  const char *category)
 {
-    return sd->owner.item_added(sd, item, NULL, category);
+    return sd->owner.item_added(sd, NULL, item, category);
 }
 
 /**



More information about the vlc-commits mailing list