[MPlayer-translations] r36756 - in trunk: help/help_mp-de.h help/help_mp-en.h help/help_mp-zh_CN.h stream/stream.c
reimar
subversion at mplayerhq.hu
Sun Jan 26 19:59:15 CET 2014
Author: reimar
Date: Sun Jan 26 19:59:15 2014
New Revision: 36756
Log:
stream.c: remove pointless NULL check.
Since it currently is a fixed-size array it can never be NULL.
But even if this was changed, this check has no real value:
it should still only be possible in case of an obvious code bug
during development and the crash it would cause would be easy enough
to debug.
Modified:
trunk/help/help_mp-de.h
trunk/help/help_mp-zh_CN.h
Changes in other areas also in this revision:
Modified:
trunk/help/help_mp-en.h
trunk/stream/stream.c
Modified: trunk/help/help_mp-de.h
==============================================================================
--- trunk/help/help_mp-de.h Sun Jan 26 19:19:31 2014 (r36755)
+++ trunk/help/help_mp-de.h Sun Jan 26 19:59:15 2014 (r36756)
@@ -567,7 +567,6 @@ static const char help_text[]=
#define MSGTR_URLParsingFailed "Fehler bei der Analyse der URL %s\n"
#define MSGTR_FailedSetStreamOption "Datenstrom-Option %s=%s konnte nicht gesetzt werden.\n"
#define MSGTR_StreamNeedType "Datenströme benötigen einen Typ!\n"
-#define MSGTR_StreamProtocolNULL "Datenstromtyp %s hat protcols == NULL, das ist ein Fehler\n"
#define MSGTR_StreamCantHandleURL "Kein Datenstrom zur Verarbeitung der URL %s gefunden.\n"
#define MSGTR_StreamNULLFilename "open_output_stream(), Dateiname NULL, Fehler bitte melden\n"
#define MSGTR_StreamErrorWritingCapture "Fehler beim Schreiben der Capture-Datei: %s\n"
Modified: trunk/help/help_mp-zh_CN.h
==============================================================================
--- trunk/help/help_mp-zh_CN.h Sun Jan 26 19:19:31 2014 (r36755)
+++ trunk/help/help_mp-zh_CN.h Sun Jan 26 19:59:15 2014 (r36756)
@@ -1924,7 +1924,6 @@ static const char help_text[]=
#define MSGTR_URLParsingFailed "URL %s 解析失败\n"
#define MSGTR_FailedSetStreamOption "未能设置媒体流选项 %s=%s\n"
#define MSGTR_StreamNeedType "媒体流需有类型!\n"
-#define MSGTR_StreamProtocolNULL "媒体流类型 %s 的 protocols == NULL,这是软件缺陷\n"
#define MSGTR_StreamCantHandleURL "未找到媒体流以处理 URL %s\n"
#define MSGTR_StreamNULLFilename "open_output_stream(),文件名为 NULL,请报告该缺陷\n"
#define MSGTR_StreamErrorWritingCapture "写入流捕获文件错误:%s\n"
More information about the MPlayer-translations
mailing list