diff options
author | kmkaplan <kmkaplan@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-29 15:12:41 +0000 |
---|---|---|
committer | kmkaplan <kmkaplan@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-29 15:12:41 +0000 |
commit | d40f8f30c206e8fc75dd9badb1f3cadd8dd21e48 (patch) | |
tree | f21f75993b698d6294baa77c2404ea1cbf88624e /mencoder.c | |
parent | 05dcedd786ec01d965bcc9aa27bf750c0a6d79db (diff) | |
download | mpv-d40f8f30c206e8fc75dd9badb1f3cadd8dd21e48.tar.bz2 mpv-d40f8f30c206e8fc75dd9badb1f3cadd8dd21e48.tar.xz |
Fix bug noticed by Hajba Szilard in message <20020329151644.A23301@revai.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5393 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r-- | mencoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mencoder.c b/mencoder.c index 9c881119a6..e85b3b5723 100644 --- a/mencoder.c +++ b/mencoder.c @@ -777,8 +777,8 @@ if (spudec_ifo) { if (vobsub_parse_ifo(spudec_ifo, palette, &width, &height, 1) >= 0) vo_spudec=spudec_new_scaled(palette, sh_video->disp_w, sh_video->disp_h); } -if (vo_spudec==NULL) { #ifdef USE_DVDREAD +if (vo_spudec==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); } |