extern CodecTag codec_bmp_tags[];
extern CodecTag codec_wav_tags[];
-unsigned int codec_get_tag(CodecTag *tags, int id);
-int codec_get_id(CodecTag *tags, unsigned int tag);
+unsigned int codec_get_tag(const CodecTag *tags, int id);
+int codec_get_id(const CodecTag *tags, unsigned int tag);
/* avidec.c */
int avi_read_header(AVFormatContext *s, AVFormatParameters *ap);
/* getting rid of these */
#define CODEC_TYPE_MOV_OTHER 2
-CodecTag mov_video_tags[] = {
+static const CodecTag mov_video_tags[] = {
/* { CODEC_ID_, MKTAG('c', 'v', 'i', 'd') }, *//* Cinepak */
/* { CODEC_ID_JPEG, MKTAG('j', 'p', 'e', 'g') }, *//* JPEG */
{ CODEC_ID_H263, MKTAG('r', 'a', 'w', ' ') }, /* Uncompressed RGB */
{ 0, 0 },
};
-CodecTag mov_audio_tags[] = {
+static const CodecTag mov_audio_tags[] = {
/* { CODEC_ID_PCM_S16BE, MKTAG('N', 'O', 'N', 'E') }, *//* uncompressed */
{ CODEC_ID_PCM_S16BE, MKTAG('t', 'w', 'o', 's') }, /* 16 bits */
{ CODEC_ID_PCM_S8, MKTAG('t', 'w', 'o', 's') }, /* 8 bits */
}
}
-int mov_read_header(AVFormatContext *s, AVFormatParameters *ap)
+static int mov_read_header(AVFormatContext *s, AVFormatParameters *ap)
{
MOVContext *mov;
ByteIOContext *pb = &s->pb;
/* Yes, this is ugly... I didn't write the specs of QT :p */
/* XXX:remove useless commented code sometime */
-int mov_read_packet(AVFormatContext *s, AVPacket *pkt)
+static int mov_read_packet(AVFormatContext *s, AVPacket *pkt)
{
MOVContext *mov = s->priv_data;
INT64 offset = 0x0FFFFFFFFFFFFFFF;
return 0;
}
-int mov_read_close(AVFormatContext *s)
+static int mov_read_close(AVFormatContext *s)
{
int i;
MOVContext *mov = s->priv_data;