diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-12-02 21:52:43 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-12-02 21:52:43 +0000 |
commit | 73a727f3693185f2d143b1a797dc60f4c305d86e (patch) | |
tree | 5c417d7eff31f1c95a22798c8a7632c30ed774db /libavformat | |
parent | b639896915100d2009c2708b116566a37a17273f (diff) | |
download | ffmpeg-73a727f3693185f2d143b1a797dc60f4c305d86e.tar.gz |
Make ff_mkv_codec_tags array const, it is never written.
Originally committed as revision 11137 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroska.c | 2 | ||||
-rw-r--r-- | libavformat/matroska.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c index eded899f47..e541d2d9ea 100644 --- a/libavformat/matroska.c +++ b/libavformat/matroska.c @@ -21,7 +21,7 @@ #include "matroska.h" -CodecTags ff_mkv_codec_tags[]={ +const CodecTags ff_mkv_codec_tags[]={ // {"V_MS/VFW/FOURCC" , CODEC_ID_NONE}, {"V_UNCOMPRESSED" , CODEC_ID_RAWVIDEO}, {"V_MPEG4/ISO/ASP" , CODEC_ID_MPEG4}, diff --git a/libavformat/matroska.h b/libavformat/matroska.h index f46337b87f..fcfde37a03 100644 --- a/libavformat/matroska.h +++ b/libavformat/matroska.h @@ -191,6 +191,6 @@ typedef struct CodecTags{ /* max. depth in the EBML tree structure */ #define EBML_MAX_DEPTH 16 -extern CodecTags ff_mkv_codec_tags[]; +extern const CodecTags ff_mkv_codec_tags[]; #endif /* FFMPEG_MATROSKA_H */ |