changeset 3234:2e2221a3febb libavformat

Implement FFMAX3(a,b,c) - maximum over three arguments.
author voroshil
date Sat, 19 Apr 2008 17:07:58 +0000
parents e2bdb989f7da
children 2a4192999b55
files matroskadec.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/matroskadec.c	Sat Apr 19 14:52:19 2008 +0000
+++ b/matroskadec.c	Sat Apr 19 17:07:58 2008 +0000
@@ -98,8 +98,8 @@
     //..
 } MatroskaSubtitleTrack;
 
-#define MAX_TRACK_SIZE (FFMAX(FFMAX(sizeof(MatroskaVideoTrack), \
-                                    sizeof(MatroskaAudioTrack)), \
+#define MAX_TRACK_SIZE (FFMAX3(sizeof(MatroskaVideoTrack), \
+                                    sizeof(MatroskaAudioTrack), \
                                     sizeof(MatroskaSubtitleTrack)))
 
 typedef struct MatroskaLevel {