summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-21 05:07:08 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:47:43 +0300
commit67778746ce3c917d874baa7c2e6b2a21a50c27e2 (patch)
treec3b3126a81e4ed1249945335c364e8ac8b2c8a7a
parentdb8924ea3c3a0dd8243c61cf3d7bf5f8807796ed (diff)
downloadmpv-67778746ce3c917d874baa7c2e6b2a21a50c27e2.tar.bz2
mpv-67778746ce3c917d874baa7c2e6b2a21a50c27e2.tar.xz
Remove pointless #ifdefs
These #ifdefs only made MPContext 2 variables smaller when dvbin support was disabled.
-rw-r--r--mp_core.h2
-rw-r--r--mplayer.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/mp_core.h b/mp_core.h
index df9d3098e7..7ef16ec972 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -94,10 +94,8 @@ typedef struct MPContext {
int file_format;
-#ifdef HAS_DVBIN_SUPPORT
int last_dvb_step;
int dvbin_reopen;
-#endif
int was_paused;
diff --git a/mplayer.c b/mplayer.c
index 3c07e2d763..78edd1e06b 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -201,9 +201,7 @@ static MPContext mpctx_s = {
.set_of_sub_pos = -1,
.file_format = DEMUXER_TYPE_UNKNOWN,
.loop_times = -1,
-#ifdef HAS_DVBIN_SUPPORT
.last_dvb_step = 1,
-#endif
};
static MPContext *mpctx = &mpctx_s;