aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-06-02 23:01:14 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-06-02 23:01:14 +0000
commit4b3dc529f55df2133c548f83f6eaeb67e4f3bb83 (patch)
tree3d71d449b380a15f78e81f54f51374dd57d3d5ea /libavformat
parent9b85e378bfd2680d632f0ee95f3a1a93c7e3caa2 (diff)
downloadffmpeg-4b3dc529f55df2133c548f83f6eaeb67e4f3bb83.tar.gz
matroskadec: move ARRAY_SIZE() macro at top of the file
Originally committed as revision 13633 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/matroskadec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 94249111f2..11426307fe 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -172,6 +172,8 @@ typedef struct MatroskaDemuxContext {
AVStream *skip_to_stream;
} MatroskaDemuxContext;
+#define ARRAY_SIZE(x) (sizeof(x)/sizeof(*x))
+
/*
* The first few functions handle EBML file parsing. The rest
* is the document interpretation. Matroska really just is a
@@ -2308,8 +2310,6 @@ matroska_parse_chapters(AVFormatContext *s)
return res;
}
-#define ARRAY_SIZE(x) (sizeof(x)/sizeof(*x))
-
static int
matroska_aac_profile (char *codec_id)
{