openbsd-ports/multimedia/xine-lib/patches/patch-src_input_input_dvb_c

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_input_input_dvb_c,v 1.9 2010/01/05 11:48:51 sthen Exp $
--- src/input/input_dvb.c.orig Mon Nov 30 15:55:45 2009
+++ src/input/input_dvb.c Wed Dec 2 20:34:56 2009
@@ -903,7 +903,7 @@ static channel_t *load_channels(xine_t *xine, xine_str
if (!f) {
xprintf(xine, XINE_VERBOSITY_LOG, _("input_dvb: failed to open dvb channel file '%s': %s\n"), filename, strerror (errno));
if (!f && stream)
- _x_message(stream, XINE_MSG_FILE_NOT_FOUND, filename, "Please run the dvbscan utility.", NULL);
+ _x_message(stream, XINE_MSG_FILE_NOT_FOUND, filename, "Please run the dvbscan utility.", (char *)NULL);
return NULL;
}
if (fstat(fileno(f), &st) || !S_ISREG (st.st_mode)) {
@@ -2585,7 +2585,7 @@ static off_t dvb_plugin_read (input_plugin_t *this_gen
/* no data for several seconds - tell the user a possible reason */
if(this->read_failcount==5){
- _x_message(this->stream,1,"DVB Signal Lost. Please check connections.", NULL);
+ _x_message(this->stream,1,"DVB Signal Lost. Please check connections.", (char *)NULL);
}
#ifdef DVB_NO_BUFFERING
if(this->newchannel){