Commit 9cdf3a3c authored by aurel's avatar aurel

matroskadec: move ARRAY_SIZE() macro at top of the file


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13633 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8975fdeb
......@@ -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)
{
......
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