changeset 26272:f6accae8703b

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.
author uau
date Mon, 31 Mar 2008 04:10:51 +0000
parents fa145ef5ac13
children 8c92e7e4ccd9
files mp_core.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mp_core.h	Sun Mar 30 17:42:19 2008 +0000
+++ b/mp_core.h	Mon Mar 31 04:10:51 2008 +0000
@@ -99,7 +99,7 @@
     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