# HG changeset patch # User reimar # Date 1196632363 0 # Node ID d5842afe8539b9c8c63ba6ef849102e11bbc2d09 # Parent e0a046abae56a878b1b86f515ae4ec6e441f4f1f Make ff_mkv_codec_tags array const, it is never written. diff -r e0a046abae56 -r d5842afe8539 matroska.c --- a/matroska.c Sun Dec 02 17:51:05 2007 +0000 +++ b/matroska.c Sun Dec 02 21:52:43 2007 +0000 @@ -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 -r e0a046abae56 -r d5842afe8539 matroska.h --- a/matroska.h Sun Dec 02 17:51:05 2007 +0000 +++ b/matroska.h Sun Dec 02 21:52:43 2007 +0000 @@ -191,6 +191,6 @@ /* 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 */