Mercurial > mplayer.hg
changeset 19877:f16afec4c9c0
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
author | gpoirier |
---|---|
date | Mon, 18 Sep 2006 11:47:41 +0000 |
parents | b3fd29d6b7eb |
children | 6ce7915135b0 |
files | subreader.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/subreader.c Mon Sep 18 00:14:41 2006 +0000 +++ b/subreader.c Mon Sep 18 11:47:41 2006 +0000 @@ -1091,7 +1091,8 @@ 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