changeset 29745:58e73accaeb7

sync to x264-r1296
author lorenm
date Mon, 19 Oct 2009 21:23:08 +0000
parents 31765aadf02c
children ab3cf1e159d3
files configure libmpcodecs/ve_x264.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Oct 19 15:47:59 2009 +0000
+++ b/configure	Mon Oct 19 21:23:08 2009 +0000
@@ -7221,7 +7221,7 @@
   cat > $TMPC << EOF
 #include <inttypes.h>
 #include <x264.h>
-#if X264_BUILD < 76
+#if X264_BUILD < 78
 #error We do not support old versions of x264. Get the latest from git.
 #endif
 int main(void) { x264_encoder_open((void*)0); return 0; }
--- a/libmpcodecs/ve_x264.c	Mon Oct 19 15:47:59 2009 +0000
+++ b/libmpcodecs/ve_x264.c	Mon Oct 19 21:23:08 2009 +0000
@@ -185,7 +185,7 @@
         mod->mux->bih->biSize= sizeof(BITMAPINFOHEADER) + extradata_size;
     }
 
-    if (param.i_bframe > 1 && param.b_bframe_pyramid)
+    if (param.i_bframe > 1 && param.i_bframe_pyramid)
         mod->mux->decoder_delay = 2;
     else
         mod->mux->decoder_delay = param.i_bframe ? 1 : 0;