diff options
author | František Dvořák <valtri@civ.zcu.cz> | 2008-11-20 20:56:19 +0100 |
---|---|---|
committer | František Dvořák <valtri@civ.zcu.cz> | 2008-11-20 20:56:19 +0100 |
commit | ea2b5508e35f5125fd65730822b30bb8895ad87d (patch) | |
tree | e03317e974e1bf818ca50904242595fa01db25df /src/libmpeg2 | |
parent | 2ba1e128cbb791cfdb2829895a854bb664018912 (diff) | |
download | xine-lib-ea2b5508e35f5125fd65730822b30bb8895ad87d.tar.gz xine-lib-ea2b5508e35f5125fd65730822b30bb8895ad87d.tar.bz2 |
Some warning fixes: XINE_FORMAT_SCANF, statics in headers, consts, ...
Add warning flags to the DEBUG_CFLAGS too.
Diffstat (limited to 'src/libmpeg2')
-rw-r--r-- | src/libmpeg2/mpeg2.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libmpeg2/mpeg2.h b/src/libmpeg2/mpeg2.h index 253f300a2..ae69688f5 100644 --- a/src/libmpeg2/mpeg2.h +++ b/src/libmpeg2/mpeg2.h @@ -31,7 +31,8 @@ typedef struct mpeg2dec_s { uint32_t frame_format; /* this is where we keep the state of the decoder */ - struct picture_s * picture, *picture_base; + struct picture_s * picture; + void *picture_base; uint32_t shift; int new_sequence; @@ -45,7 +46,8 @@ typedef struct mpeg2dec_s { /* which is 224K for MP@ML streams. */ /* (we make no pretenses of decoding anything more than that) */ /* allocated in init - gcc has problems allocating such big structures */ - uint8_t * chunk_buffer, *chunk_base; + uint8_t * chunk_buffer; + void *chunk_base; /* pointer to current position in chunk_buffer */ uint8_t * chunk_ptr; /* last start code ? */ |