summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-16 15:35:28 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-16 15:35:28 +0000
commitbcc4c6b1ae5d13adcb385fc2fc8ee629eaa26d0c (patch)
treee7ad43c99790b2039a4b5bea8a6e2eb55df9d737 /mplayer.c
parent1413b42ad56a24ed12631fb43ccd7d44c05ac6a8 (diff)
downloadmpv-bcc4c6b1ae5d13adcb385fc2fc8ee629eaa26d0c.tar.bz2
mpv-bcc4c6b1ae5d13adcb385fc2fc8ee629eaa26d0c.tar.xz
- dvd aspect changing bug - fixed
- if codec is not found -> sig11 - fixed - pp autoq handling bug - fixed - some warning - fixed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7752 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 5eab23f0c7..bb3500ecc9 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2532,7 +2532,7 @@ if(rel_seek_secs || abs_seek_pos){
#ifdef HAVE_NEW_GUI
if(use_gui){
guiEventHandling();
- if(demuxer->file_format==DEMUXER_TYPE_AVI && sh_video->video.dwLength>2){
+ if(demuxer->file_format==DEMUXER_TYPE_AVI && sh_video && sh_video->video.dwLength>2){
// get pos from frame number / total frames
guiIntfStruct.Position=(float)d_video->pack_no*100.0f/sh_video->video.dwLength;
} else {