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 /libavcodec/h263.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 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 3446204c6f..ad54203930 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -3100,7 +3100,7 @@ int ff_mpeg4_get_video_packet_prefix_length(MpegEncContext *s){ case FF_S_TYPE: return s->f_code+15; case FF_B_TYPE: - return FFMAX(FFMAX(s->f_code, s->b_code)+15, 17); + return FFMAX3(s->f_code, s->b_code, 2) + 15; default: return -1; } |