diff options
author | Vladimir Voroshilov <voroshil@gmail.com> | 2008-04-19 17:07:58 +0000 |
---|---|---|
committer | Vladimir Voroshilov <voroshil@gmail.com> | 2008-04-19 17:07:58 +0000 |
commit | 159ef4b02a231259da95af3e7384c216f3252abd (patch) | |
tree | c353288c9ac9108377c2ce68b0094b9907ed8f52 /libavformat/matroskadec.c | |
parent | c6cd525aa0b88a593ccb8c492f9a6a0a5c8abc86 (diff) | |
download | ffmpeg-159ef4b02a231259da95af3e7384c216f3252abd.tar.gz |
Implement FFMAX3(a,b,c) - maximum over three arguments.
Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r-- | libavformat/matroskadec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 321968a98d..25fbdd5967 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -98,8 +98,8 @@ typedef struct MatroskaSubtitleTrack { //.. } 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 { |