[FFmpeg-cvslog] r11137 - in trunk/libavformat: matroska.c matroska.h
reimar
subversion
Sun Dec 2 22:52:43 CET 2007
Author: reimar
Date: Sun Dec 2 22:52:43 2007
New Revision: 11137
Log:
Make ff_mkv_codec_tags array const, it is never written.
Modified:
trunk/libavformat/matroska.c
trunk/libavformat/matroska.h
Modified: trunk/libavformat/matroska.c
==============================================================================
--- trunk/libavformat/matroska.c (original)
+++ trunk/libavformat/matroska.c Sun Dec 2 22:52:43 2007
@@ -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},
Modified: trunk/libavformat/matroska.h
==============================================================================
--- trunk/libavformat/matroska.h (original)
+++ trunk/libavformat/matroska.h Sun Dec 2 22:52:43 2007
@@ -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 */
More information about the ffmpeg-cvslog
mailing list