aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-12-02 21:52:43 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-12-02 21:52:43 +0000
commit73a727f3693185f2d143b1a797dc60f4c305d86e (patch)
tree5c417d7eff31f1c95a22798c8a7632c30ed774db
parentb639896915100d2009c2708b116566a37a17273f (diff)
downloadffmpeg-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
-rw-r--r--libavformat/matroska.c2
-rw-r--r--libavformat/matroska.h2
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 */