summaryrefslogtreecommitdiff
path: root/libavformat/matroska.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2011-05-24 23:34:24 +0200
committerAurelien Jacobs <aurel@gnuage.org>2011-05-24 23:34:24 +0200
commit09525f7956508c420a5c56c8daee16e05aa3f528 (patch)
treed10491ce0c984732466c3f243692b71bfdb3e529 /libavformat/matroska.h
parentb44bbf908d000808b2480cd6e8ca571cd3846fd2 (diff)
matroska: improve declaration of video_stereo_* constant tables
Diffstat (limited to 'libavformat/matroska.h')
-rw-r--r--libavformat/matroska.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/matroska.h b/libavformat/matroska.h
index 949195b757..32b04c5a4b 100644
--- a/libavformat/matroska.h
+++ b/libavformat/matroska.h
@@ -240,13 +240,13 @@ typedef struct CodecMime{
/* max. depth in the EBML tree structure */
#define EBML_MAX_DEPTH 16
+#define MATROSKA_VIDEO_STEREO_MODE_COUNT 15
+#define MATROSKA_VIDEO_STEREO_PLANE_COUNT 3
+
extern const CodecTags ff_mkv_codec_tags[];
extern const CodecMime ff_mkv_mime_tags[];
extern const AVMetadataConv ff_mkv_metadata_conv[];
-extern const char const *matroska_video_stereo_mode[];
-extern const char const *matroska_video_stereo_plane[];
-
-#define MATROSKA_VIDEO_STEREO_MODE_COUNT 15
-#define MATROSKA_VIDEO_STEREO_PLANE_COUNT 3
+extern const char * const matroska_video_stereo_mode[MATROSKA_VIDEO_STEREO_MODE_COUNT];
+extern const char * const matroska_video_stereo_plane[MATROSKA_VIDEO_STEREO_PLANE_COUNT];
#endif /* AVFORMAT_MATROSKA_H */