diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-02-07 16:29:36 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-02-07 16:29:36 +0000 |
commit | a6c45d1907ff592c80d3d70f49840be384444dd4 (patch) | |
tree | dc0a83f521456ba50a6e07f6f4695050b63ca888 /src/video_dec/libvdpau/h264_parser.c | |
parent | 3798ee56d38e5b978bf20520ec06f4821176dee9 (diff) | |
download | xine-lib-a6c45d1907ff592c80d3d70f49840be384444dd4.tar.gz xine-lib-a6c45d1907ff592c80d3d70f49840be384444dd4.tar.bz2 |
Compiler warning fixes.
Diffstat (limited to 'src/video_dec/libvdpau/h264_parser.c')
-rw-r--r-- | src/video_dec/libvdpau/h264_parser.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_dec/libvdpau/h264_parser.c b/src/video_dec/libvdpau/h264_parser.c index 30c793975..bb010a342 100644 --- a/src/video_dec/libvdpau/h264_parser.c +++ b/src/video_dec/libvdpau/h264_parser.c @@ -20,6 +20,10 @@ * h264_parser.c: Almost full-features H264 NAL-Parser */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <stdlib.h> #include <math.h> @@ -1662,7 +1666,8 @@ int parse_frame(struct h264_parser *parser, uint8_t *inbuf, int inbuf_len, int32_t offset = 0; int start_seq_len = 3; - *ret_pic = *ret_buf = NULL; + *ret_pic = NULL; + *ret_buf = NULL; *ret_len = 0; if(parser->nal_size_length > 0) |