mirror of https://github.com/mpv-player/mpv
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:
parent
4ed3ba6945
commit
c610bb50be
|
@ -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;
|
int width, height;
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ typedef struct {
|
||||||
int picture_type;
|
int picture_type;
|
||||||
} mp_mpeg_header_t;
|
} 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);
|
int mp_header_process_extension (mp_mpeg_header_t * picture, unsigned char * buffer);
|
||||||
float mpeg12_aspect_info(mp_mpeg_header_t *picture);
|
float mpeg12_aspect_info(mp_mpeg_header_t *picture);
|
||||||
int mp4_header_process_vol(mp_mpeg_header_t * picture, unsigned char * buffer);
|
int mp4_header_process_vol(mp_mpeg_header_t * picture, unsigned char * buffer);
|
||||||
|
|
Loading…
Reference in New Issue