diff options
author | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-18 11:47:41 +0000 |
---|---|---|
committer | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-18 11:47:41 +0000 |
commit | 5fc0b3c9d207d55c0a23905a6267c959a4c6090d (patch) | |
tree | b2f5fe28e7c4e1cf0c1141fb9843f2c2524948ca | |
parent | e5abdb31f6bb5bf732003f265761e8da607f3877 (diff) |
Fix missleading msg printed when subcp_open is given NULL as parameter (like as demux_ogg and demux_mkv do)
Patch by: Zuxy Meng %zuxy.meng A gmail P com%
Original Thread:
Message-ID: <a18e06b40609160400l74263121p5f41eaf3549caf5@mail.gmail.com>
Date: Sat, 16 Sep 2006 19:00:57 +0800
To: mplayer-dev-eng@mplayerhq.hu
Subject: [MPlayer-dev-eng] [PATCH] Remove erroneaus warning message in subreader.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19883 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | subreader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c index 1d9da98cc1..a722d5e479 100644 --- a/subreader.c +++ b/subreader.c @@ -1091,7 +1091,8 @@ void subcp_open (stream_t *st) free_cp_tmp = 1; } else { cp_tmp = enca_fallback; - mp_msg(MSGT_SUBREADER,MSGL_WARN,"SUB: enca faild, stream must be seakable.\n"); + if (st) + mp_msg(MSGT_SUBREADER,MSGL_WARN,"SUB: enca failed, stream must be seakable.\n"); } } #endif |