vlc/vlc-3.0 | branch: master | Akinobu Mita <[email protected]> | Sun May 27 02:51:25 2018 +0900| [172dc1d7cdf70a67764cdaaaa93eb4beaf24999e] | 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 4th 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]> (cherry picked from commit ab0d064c1bfd356bd2b7c617c8b57536e7f15ced) Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=172dc1d7cdf70a67764cdaaaa93eb4beaf24999e --- 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 a5fc83d872..9ab0504268 100644 --- a/modules/access/dtv/access.c +++ b/modules/access/dtv/access.c @@ -868,7 +868,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
