summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-06 22:55:47 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-06 22:55:47 +0000
commitc50aa0dd8879a907125223f793c3189ac2269481 (patch)
treea11e6672a6196b934bc5aac4bc2a602af21c3b18 /mencoder.c
parent8c6da39840ec8403d6d5bc6ec6c165f8e288e081 (diff)
downloadmpv-c50aa0dd8879a907125223f793c3189ac2269481.tar.bz2
mpv-c50aa0dd8879a907125223f793c3189ac2269481.tar.xz
fix spudec, faszom (C#)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4558 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mencoder.c b/mencoder.c
index 61381c48c7..33c3b5ce49 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -635,7 +635,7 @@ video_out.draw_slice=draw_slice;
video_out.draw_frame=draw_frame;
#ifdef USE_DVDREAD
-vo_spudec=spudec_new_scaled(stream->priv?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL,
+vo_spudec=spudec_new_scaled(stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL,
sh_video->disp_w, sh_video->disp_h);
#endif