[MPlayer-cvslog] r26304 - trunk/mp_core.h

uau subversion at mplayerhq.hu
Mon Mar 31 06:10:51 CEST 2008


Author: uau
Date: Mon Mar 31 06:10:51 2008
New Revision: 26304

Log:
mp_core.h: Fix use of 'mp_image_t' without definition

A field under #ifdef USE_DVDNAV had type "mp_image_t *', but a
definition of the type was not included. Fix by changing the type to
"struct mp_image_s *".

This probably started causing visible compilation failures after
'#include "command.h"' was added to command.c, as that led to
mp_core.h being included earlier.


Modified:
   trunk/mp_core.h

Modified: trunk/mp_core.h
==============================================================================
--- trunk/mp_core.h	(original)
+++ trunk/mp_core.h	Mon Mar 31 06:10:51 2008
@@ -99,7 +99,7 @@ typedef struct MPContext {
     int was_paused;
 
 #ifdef USE_DVDNAV
-    mp_image_t    *nav_smpi;     ///< last decoded dvdnav video image
+    struct mp_image_s *nav_smpi; ///< last decoded dvdnav video image
     unsigned char *nav_buffer;   ///< last read dvdnav video frame
     unsigned char *nav_start;    ///< pointer to last read video buffer
     int            nav_in_size;  ///< last read size



More information about the MPlayer-cvslog mailing list