summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_mpg.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-17 22:52:31 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-17 22:52:31 +0000
commit2d776c8c768349798412a6121e581a3078fff4e6 (patch)
treee535fa7c58f9daafbd39fbf37133a63fb2471441 /libmpdemux/demux_mpg.c
parentc66aa21366043b81d263e453dda28ac50d573114 (diff)
downloadmpv-2d776c8c768349798412a6121e581a3078fff4e6.tar.bz2
mpv-2d776c8c768349798412a6121e581a3078fff4e6.tar.xz
libmpdemux: Remove pointless leftover '#if 1' preprocessor instructions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30620 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_mpg.c')
-rw-r--r--libmpdemux/demux_mpg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libmpdemux/demux_mpg.c b/libmpdemux/demux_mpg.c
index d37971b44a..f6c7fc5169 100644
--- a/libmpdemux/demux_mpg.c
+++ b/libmpdemux/demux_mpg.c
@@ -824,11 +824,9 @@ int ret=0;
// System stream
do{
demux->filepos=stream_tell(demux->stream);
-#if 1
//lame workaround: this is needed to show the progress bar when playing dvdnav://
//(ths poor guy doesn't know teh length of the stream at startup)
demux->movi_end = demux->stream->end_pos;
-#endif
head=stream_read_dword(demux->stream);
if((head&0xFFFFFF00)!=0x100){
// sync...