[MPlayer-DOCS] 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

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.


Changes in other areas also in this revision:

Modified: trunk/help/help_mp-en.h
--- trunk/help/help_mp-en.h	Sun Jan 26 19:19:31 2014	(r36755)
+++ trunk/help/help_mp-en.h	Sun Jan 26 19:59:15 2014	(r36756)
@@ -1929,7 +1929,6 @@ static const char help_text[]=
 #define MSGTR_URLParsingFailed "URL parsing failed on url %s\n"
 #define MSGTR_FailedSetStreamOption "Failed to set stream option %s=%s\n"
 #define MSGTR_StreamNeedType "Streams need a type!\n"
-#define MSGTR_StreamProtocolNULL "Stream type %s has protocols == NULL, it's a bug\n"
 #define MSGTR_StreamCantHandleURL "No stream found to handle url %s\n"
 #define MSGTR_StreamNULLFilename "open_output_stream(), NULL filename, report this bug\n"
 #define MSGTR_StreamErrorWritingCapture "Error writing capture file: %s\n"

More information about the MPlayer-DOCS mailing list