matroskadec: move ARRAY_SIZE() macro at top of the file
Originally committed as revision 13633 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9b85e378bf
commit
4b3dc529f5
@ -172,6 +172,8 @@ typedef struct MatroskaDemuxContext {
|
|||||||
AVStream *skip_to_stream;
|
AVStream *skip_to_stream;
|
||||||
} MatroskaDemuxContext;
|
} MatroskaDemuxContext;
|
||||||
|
|
||||||
|
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(*x))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The first few functions handle EBML file parsing. The rest
|
* The first few functions handle EBML file parsing. The rest
|
||||||
* is the document interpretation. Matroska really just is a
|
* is the document interpretation. Matroska really just is a
|
||||||
@ -2308,8 +2310,6 @@ matroska_parse_chapters(AVFormatContext *s)
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(*x))
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
matroska_aac_profile (char *codec_id)
|
matroska_aac_profile (char *codec_id)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user