[MPlayer-cvslog] r20804 - trunk/stream/stream_dvdnav.c

nicodvb subversion at mplayerhq.hu
Thu Nov 9 00:18:56 CET 2006


Author: nicodvb
Date: Thu Nov  9 00:18:56 2006
New Revision: 20804

Modified:
   trunk/stream/stream_dvdnav.c

Log:
changed ugly sizeof(*type_ptr) width sizeof(type)

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	(original)
+++ trunk/stream/stream_dvdnav.c	Thu Nov  9 00:18:56 2006
@@ -63,7 +63,7 @@
   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))) {



More information about the MPlayer-cvslog mailing list