summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-11-08 18:37:03 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-11-08 18:37:03 +0000
commit15545a095a01b981a5d691d7bd6081b8b1b7d209 (patch)
tree6cbcd71108738f6e2c82938c7ee73633d7d647b1 /libavformat/avformat.h
parent502ecc97af848318d305558f6dc4be16b6af3dd5 (diff)
Fix argument constness for the av_codec_get_id() and
av_codec_get_tag() functions, making them take in input a constant array, since they're not supposed to change it. Fix some warnings. Originally committed as revision 15795 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 78e78788aa..acdcec4251 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -694,8 +694,8 @@ void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload);
void av_register_all(void);
/** codec tag <-> codec id */
-enum CodecID av_codec_get_id(const struct AVCodecTag **tags, unsigned int tag);
-unsigned int av_codec_get_tag(const struct AVCodecTag **tags, enum CodecID id);
+enum CodecID av_codec_get_id(const struct AVCodecTag * const *tags, unsigned int tag);
+unsigned int av_codec_get_tag(const struct AVCodecTag * const *tags, enum CodecID id);
/* media file input */