mirror of https://github.com/mpv-player/mpv
100l, missing () around *valp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14573 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7111eacce7
commit
cd4875f414
|
@ -158,7 +158,7 @@ int subopt_parse( char const * const str, opt_t * opts )
|
|||
if (tmp.str && tmp.len > 0) {
|
||||
*valp = malloc(tmp.len + 1);
|
||||
memcpy(*valp, tmp.str, tmp.len);
|
||||
*valp[tmp.len] = 0;
|
||||
(*valp)[tmp.len] = 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue