diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-10-16 06:29:38 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-10-16 06:29:38 +0000 |
commit | 7fc7640140629acc747df852e8e6a3de7aa153ab (patch) | |
tree | 35fab387c1068b537323a4c77617ac2ab61c2e91 /src | |
parent | 40be2c2c4cca56c05d6c932539f6f49a64ee60ef (diff) | |
download | xine-lib-7fc7640140629acc747df852e8e6a3de7aa153ab.tar.gz xine-lib-7fc7640140629acc747df852e8e6a3de7aa153ab.tar.bz2 |
I wonder what I was looking at when I added a NULL pointer dereference to avoid crashing...
This time it shouldn't crash anymore, although it does not really make too much sense.
CVS patchset: 8342
CVS date: 2006/10/16 06:29:38
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine_interface.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index 344dce775..d0dc0e4a5 100644 --- a/src/xine-engine/xine_interface.c +++ b/src/xine-engine/xine_interface.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_interface.c,v 1.98 2006/09/26 21:20:21 dgp85 Exp $ + * $Id: xine_interface.c,v 1.99 2006/10/16 06:29:38 dgp85 Exp $ * * convenience/abstraction layer, functions to implement * libxine's public interface @@ -328,8 +328,7 @@ int xine_port_send_gui_data (xine_video_port_t *vo, void xine_set_param (xine_stream_t *stream, int param, int value) { /* Avoid crashing */ if ( ! stream ) { - xprintf (stream->xine, XINE_VERBOSITY_DEBUG, - "xine_interface: xine_set_param called with NULL stream."); + lprintf ("xine_interface: xine_set_param called with NULL stream.\n"); return; } |