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:
nicodvb 2006-11-08 23:18:56 +00:00
parent b12e3f188f
commit 9451809971
1 changed files with 1 additions and 1 deletions

View File

@ -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))) {