# HG changeset patch # User diego # Date 1140389075 0 # Node ID f16ccfe674cc8e9c7d6996ca725c56838b732e03 # Parent 9aec091b342fd209b48adc186decd0ec5afc1f15 Increase maximum number of B-frames, necessary for H.264 encoding. patch by Erik Slagter, erik at slagter .... name diff -r 9aec091b342f -r f16ccfe674cc avcodec.h --- a/avcodec.h Sun Feb 19 10:20:27 2006 +0000 +++ b/avcodec.h Sun Feb 19 22:44:35 2006 +0000 @@ -324,7 +324,7 @@ /* 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