vlc | branch: master | Akinobu Mita <[email protected]> | Sun May 27 02:51:25 2018 +0900| [eecd7d0daa3e5409eeafb13f13c6d63f778e229f] | committer: Rémi Denis-Courmont
access: dtv: Fix variable names in isdbt_setup() The isdbt_setup() attempts to query various variables starting with "dvb-a-", "dvb-b-", and "dvb-c-", but the 6th character in the variable names (it should be '-') isn't properly initialized. Signed-off-by: Akinobu Mita <[email protected]> Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eecd7d0daa3e5409eeafb13f13c6d63f778e229f --- modules/access/dtv/access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/dtv/access.c b/modules/access/dtv/access.c index 4af7392526..35c541a96f 100644 --- a/modules/access/dtv/access.c +++ b/modules/access/dtv/access.c @@ -870,7 +870,7 @@ static int isdbt_setup (vlc_object_t *obj, dvb_device_t *dev, uint64_t freq) for (unsigned i = 0; i < 3; i++) { char varname[sizeof ("dvb-X-interleaving")]; - memcpy (varname, "dvb-X-", 4); + memcpy (varname, "dvb-X-", 6); varname[4] = 'a' + i; strcpy (varname + 6, "modulation"); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
