Mark constant argument of mp_header_process_sequence_header as such.

fixes warning:
vd_mpegpes.c: In function 'decode':
vd_mpegpes.c:49: warning: passing argument 2 of 'mp_header_process_sequence_header' discards qualifiers from pointer target type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24812 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2007-10-19 10:08:02 +00:00
parent 4ed3ba6945
commit c610bb50be
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ static float frameratecode2framerate[16] = {
};
int mp_header_process_sequence_header (mp_mpeg_header_t * picture, unsigned char * buffer)
int mp_header_process_sequence_header (mp_mpeg_header_t * picture, const unsigned char * buffer)
{
int width, height;

View File

@ -20,7 +20,7 @@ typedef struct {
int picture_type;
} mp_mpeg_header_t;
int mp_header_process_sequence_header (mp_mpeg_header_t * picture, unsigned char * buffer);
int mp_header_process_sequence_header (mp_mpeg_header_t * picture, const unsigned char * buffer);
int mp_header_process_extension (mp_mpeg_header_t * picture, unsigned char * buffer);
float mpeg12_aspect_info(mp_mpeg_header_t *picture);
int mp4_header_process_vol(mp_mpeg_header_t * picture, unsigned char * buffer);