From b0ec9efd7a8d935335e4692d5483130133a2ca25 Mon Sep 17 00:00:00 2001 From: Erik Slagter Date: Sun, 19 Feb 2006 22:44:35 +0000 Subject: [PATCH] Increase maximum number of B-frames, necessary for H.264 encoding. patch by Erik Slagter, erik at slagter .... name Originally committed as revision 5039 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ecc13b37ce..9f630fed69 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -324,7 +324,7 @@ typedef struct RcOverride{ /* only for ME compatiblity with old apps */ extern int motion_estimation_method; -#define FF_MAX_B_FRAMES 8 +#define FF_MAX_B_FRAMES 16 /* encoding support these flags can be passed in AVCodecContext.flags before initing