summaryrefslogtreecommitdiffstats
path: root/spudec.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-12 15:29:31 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-15 18:45:43 +0200
commite9022ec470e9334a6d0f3cb044027964ac4f63f6 (patch)
tree0e9c163e9489dbdab07f7e7dbb585f09c1b748d0 /spudec.c
parentadedee42851d413de87b479340eb015ee33b497b (diff)
downloadmpv-e9022ec470e9334a6d0f3cb044027964ac4f63f6.tar.bz2
mpv-e9022ec470e9334a6d0f3cb044027964ac4f63f6.tar.xz
cleanup: move MP_NOPTS_VALUE definition to mpcommon.h
Diffstat (limited to 'spudec.c')
-rw-r--r--spudec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/spudec.c b/spudec.c
index de7d443ffc..f48d47fd2a 100644
--- a/spudec.c
+++ b/spudec.c
@@ -43,6 +43,7 @@
#include "libavutil/avutil.h"
#include "ffmpeg_files/intreadwrite.h"
#include "libswscale/swscale.h"
+#include "mpcommon.h"
/* Valid values for spu_aamode:
0: none (fastest, most ugly)
@@ -1336,8 +1337,6 @@ void spudec_set_hw_spu(void *this, struct vo *hw_spu)
vo_control(hw_spu, VOCTRL_SET_SPU_PALETTE, spu->global_palette);
}
-#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly
-
/**
* palette must contain at least 256 32-bit entries, otherwise crashes
* are possible