1
mirror of https://github.com/mpv-player/mpv synced 2024-08-24 07:21:49 +02:00

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
This commit is contained in:
uau 2008-03-31 04:10:51 +00:00
parent 3a1a54fab4
commit e3a29a7f4e

View File

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