diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-11-08 18:37:03 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-11-08 18:37:03 +0000 |
commit | 15545a095a01b981a5d691d7bd6081b8b1b7d209 (patch) | |
tree | 6cbcd71108738f6e2c82938c7ee73633d7d647b1 /libavformat/avformat.h | |
parent | 502ecc97af848318d305558f6dc4be16b6af3dd5 (diff) | |
download | ffmpeg-15545a095a01b981a5d691d7bd6081b8b1b7d209.tar.gz |
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.h | 4 |
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 */ |