[MPlayer-cvslog] r19883 - trunk/subreader.c
gpoirier
subversion at mplayerhq.hu
Mon Sep 18 13:47:42 CEST 2006
Author: gpoirier
Date: Mon Sep 18 13:47:41 2006
New Revision: 19883
Modified:
trunk/subreader.c
Log:
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 at mail.gmail.com>
Date: Sat, 16 Sep 2006 19:00:57 +0800
To: mplayer-dev-eng at mplayerhq.hu
Subject: [MPlayer-dev-eng] [PATCH] Remove erroneaus warning message in subreader.c
Modified: trunk/subreader.c
==============================================================================
--- trunk/subreader.c (original)
+++ trunk/subreader.c Mon Sep 18 13:47:41 2006
@@ -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
More information about the MPlayer-cvslog
mailing list