summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-31 04:10:51 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-31 04:10:51 +0000
commite3a29a7f4eaf43d84b5e85dcbc0a6004c2cfa18a (patch)
treee936131bd6ce17ebbf2258e1b91db8db372ae024 /mp_core.h
parent3a1a54fab41b14bf0e8790be955fdb2fd47a1661 (diff)
downloadmpv-e3a29a7f4eaf43d84b5e85dcbc0a6004c2cfa18a.tar.bz2
mpv-e3a29a7f4eaf43d84b5e85dcbc0a6004c2cfa18a.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26304 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp_core.h b/mp_core.h
index 0433ca6c08..57d32ffafa 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -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