mirror of https://github.com/mpv-player/mpv
changed ugly sizeof(*type_ptr) width sizeof(type)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20804 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b12e3f188f
commit
9451809971
|
@ -63,7 +63,7 @@ static dvdnav_priv_t * new_dvdnav_stream(char * filename) {
|
|||
if (!filename)
|
||||
return NULL;
|
||||
|
||||
if (!(dvdnav_priv=calloc(1,sizeof(*dvdnav_priv))))
|
||||
if (!(dvdnav_priv=calloc(1,sizeof(dvdnav_priv_t))))
|
||||
return NULL;
|
||||
|
||||
if (!(dvdnav_priv->filename=strdup(filename))) {
|
||||
|
|
Loading…
Reference in New Issue