changeset 5624:d9af91d38449

workaround Juanjo's stupid vme change
author arpi
date Sun, 14 Apr 2002 23:16:55 +0000
parents cdf5b88bdaa8
children 5fee21c3720c
files libmpcodecs/ve_lavc.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c	Sun Apr 14 23:14:26 2002 +0000
+++ b/libmpcodecs/ve_lavc.c	Sun Apr 14 23:16:55 2002 +0000
@@ -123,10 +123,12 @@
 
     lavc_venc_context.flags|= lavc_param_v4mv ? CODEC_FLAG_4MV : 0;
 
-    /* motion estimation (0 = none ... 3 = high quality but slow) */
-    /* this is just an extern from libavcodec but it should be in the
-       encoder context - FIXME */
+#ifdef ME_ZERO
+    // workaround Juanjo's stupid incompatible change:
     motion_estimation_method = lavc_param_vme;
+#else
+    lavc_venc_context.me_method = ME_ZERO+lavc_param_vme;
+#endif
 
     /* fixed qscale :p */
     if (lavc_param_vqscale)