# HG changeset patch # User aurel # Date 1212447674 0 # Node ID b7f86452706e73710c55da841c7c267672fb2c3e # Parent 17074236eb1434b770cda9d024516f96977358b9 matroskadec: move ARRAY_SIZE() macro at top of the file diff -r 17074236eb14 -r b7f86452706e matroskadec.c --- a/matroskadec.c Mon Jun 02 09:15:04 2008 +0000 +++ b/matroskadec.c Mon Jun 02 23:01:14 2008 +0000 @@ -172,6 +172,8 @@ 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 @@ return res; } -#define ARRAY_SIZE(x) (sizeof(x)/sizeof(*x)) - static int matroska_aac_profile (char *codec_id) {