Commit 73a727f3 authored by Reimar Döffinger's avatar Reimar Döffinger

Make ff_mkv_codec_tags array const, it is never written.

Originally committed as revision 11137 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b6398969
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "matroska.h" #include "matroska.h"
CodecTags ff_mkv_codec_tags[]={ const CodecTags ff_mkv_codec_tags[]={
// {"V_MS/VFW/FOURCC" , CODEC_ID_NONE}, // {"V_MS/VFW/FOURCC" , CODEC_ID_NONE},
{"V_UNCOMPRESSED" , CODEC_ID_RAWVIDEO}, {"V_UNCOMPRESSED" , CODEC_ID_RAWVIDEO},
{"V_MPEG4/ISO/ASP" , CODEC_ID_MPEG4}, {"V_MPEG4/ISO/ASP" , CODEC_ID_MPEG4},
......
...@@ -191,6 +191,6 @@ typedef struct CodecTags{ ...@@ -191,6 +191,6 @@ typedef struct CodecTags{
/* max. depth in the EBML tree structure */ /* max. depth in the EBML tree structure */
#define EBML_MAX_DEPTH 16 #define EBML_MAX_DEPTH 16
extern CodecTags ff_mkv_codec_tags[]; extern const CodecTags ff_mkv_codec_tags[];
#endif /* FFMPEG_MATROSKA_H */ #endif /* FFMPEG_MATROSKA_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment