projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b85e37
)
matroskadec: move ARRAY_SIZE() macro at top of the file
author
Aurelien Jacobs
<aurel@gnuage.org>
Mon, 2 Jun 2008 23:01:14 +0000
(23:01 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Mon, 2 Jun 2008 23:01:14 +0000
(23:01 +0000)
Originally committed as revision 13633 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
9424911
..
1142630
100644
(file)
--- 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)
{