diff options
-rw-r--r-- | xine_input_vdr.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/xine_input_vdr.c b/xine_input_vdr.c index aa323676..553701ec 100644 --- a/xine_input_vdr.c +++ b/xine_input_vdr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_input_vdr.c,v 1.170 2008-08-02 18:53:08 phintuka Exp $ + * $Id: xine_input_vdr.c,v 1.171 2008-08-03 19:58:21 phintuka Exp $ * */ @@ -40,10 +40,6 @@ # include <scsi/sg.h> #endif -#if XINE_VERSION_CODE >= 10190 -# include <libavutil/mem.h> -#endif - #include <xine/xine_internal.h> #include <xine/xineutils.h> #include <xine/input_plugin.h> @@ -52,6 +48,13 @@ #include <xine/buffer.h> #include <xine/post.h> +#if XINE_VERSION_CODE >= 10190 +# include <libavutil/mem.h> +#endif +#ifndef XINE_VERSION_CODE +# error XINE_VERSION_CODE undefined ! +#endif + #include "xine_input_vdr.h" #include "xine_input_vdr_net.h" #include "xine_osd_command.h" @@ -1325,7 +1328,7 @@ static fifo_buffer_t *fifo_buffer_new (xine_stream_t *stream, int num_buffers, u fifo_buffer_t *ref = stream->video_fifo; fifo_buffer_t *this; int i; - unsigned char *multi_buffer = NULL; + unsigned char *multi_buffer; LOGDBG("fifo_buffer_new..."); this = calloc(1, sizeof (fifo_buffer_t)); |