comparison libmpdemux/mpeg_hdr.h @ 34159:bf6f772e609d

Mark pointer arguments as const where possible.
author reimar
date Mon, 24 Oct 2011 16:20:00 +0000
parents 562cd6805eac
children
comparison
equal deleted inserted replaced
34158:562cd6805eac 34159:bf6f772e609d
41 unsigned int timeinc_resolution, timeinc_bits, timeinc_unit; 41 unsigned int timeinc_resolution, timeinc_bits, timeinc_unit;
42 int picture_type; 42 int picture_type;
43 } mp_mpeg_header_t; 43 } mp_mpeg_header_t;
44 44
45 int mp_header_process_sequence_header (mp_mpeg_header_t * picture, const unsigned char * buffer); 45 int mp_header_process_sequence_header (mp_mpeg_header_t * picture, const unsigned char * buffer);
46 int mp_header_process_extension (mp_mpeg_header_t * picture, unsigned char * buffer); 46 int mp_header_process_extension (mp_mpeg_header_t * picture, const unsigned char * buffer);
47 float mpeg12_aspect_info(mp_mpeg_header_t *picture); 47 float mpeg12_aspect_info(mp_mpeg_header_t *picture);
48 int mp4_header_process_vol(mp_mpeg_header_t * picture, unsigned char * buffer); 48 int mp4_header_process_vol(mp_mpeg_header_t * picture, const unsigned char * buffer);
49 void mp4_header_process_vop(mp_mpeg_header_t * picture, unsigned char * buffer); 49 void mp4_header_process_vop(mp_mpeg_header_t * picture, const unsigned char * buffer);
50 int h264_parse_sps(mp_mpeg_header_t * picture, const unsigned char * buf, int len); 50 int h264_parse_sps(mp_mpeg_header_t * picture, const unsigned char * buf, int len);
51 int mp_vc1_decode_sequence_header(mp_mpeg_header_t * picture, const unsigned char * buf, int len); 51 int mp_vc1_decode_sequence_header(mp_mpeg_header_t * picture, const unsigned char * buf, int len);
52 52
53 unsigned char mp_getbits(unsigned char *buffer, unsigned int from, unsigned char len); 53 unsigned char mp_getbits(const unsigned char *buffer, unsigned int from, unsigned char len);
54 54
55 #endif /* MPLAYER_MPEG_HDR_H */ 55 #endif /* MPLAYER_MPEG_HDR_H */