[FFmpeg-cvslog] r13633 - trunk/libavformat/matroskadec.c

aurel subversion
Tue Jun 3 01:01:14 CEST 2008


Author: aurel
Date: Tue Jun  3 01:01:14 2008
New Revision: 13633

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


Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Tue Jun  3 01:01:14 2008
@@ -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 
     return res;
 }
 
-#define ARRAY_SIZE(x)  (sizeof(x)/sizeof(*x))
-
 static int
 matroska_aac_profile (char *codec_id)
 {




More information about the ffmpeg-cvslog mailing list