From 73a727f3693185f2d143b1a797dc60f4c305d86e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 2 Dec 2007 21:52:43 +0000 Subject: [PATCH] Make ff_mkv_codec_tags array const, it is never written. Originally committed as revision 11137 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroska.c | 2 +- libavformat/matroska.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/matroska.c b/libavformat/matroska.c index eded899..e541d2d 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 f46337b..fcfde37 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 */ -- 2.7.4