mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-13 19:05:37 +00:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue