[Ffmpeg-cvslog] r7328 - trunk/libavcodec/motion_est.c

michael subversion
Sun Dec 17 16:41:30 CET 2006


Author: michael
Date: Sun Dec 17 16:41:30 2006
New Revision: 7328

Modified:
   trunk/libavcodec/motion_est.c

Log:
10l


Modified: trunk/libavcodec/motion_est.c
==============================================================================
--- trunk/libavcodec/motion_est.c	(original)
+++ trunk/libavcodec/motion_est.c	Sun Dec 17 16:41:30 2006
@@ -230,9 +230,9 @@
 
 void ff_init_me(MpegEncContext *s){
     MotionEstContext * const c= &s->me;
-    c->avctx= s->avctx;
     int cache_size= FFMIN(ME_MAP_SIZE>>ME_MAP_SHIFT, 1<<ME_MAP_SHIFT);
     int dia_size= FFMAX(FFABS(s->avctx->dia_size)&255, FFABS(s->avctx->pre_dia_size)&255);
+    c->avctx= s->avctx;
 
     if(cache_size < 2*dia_size && !c->stride){
         av_log(s->avctx, AV_LOG_INFO, "ME_MAP size may be a little small for the selected diamond size\n");




More information about the ffmpeg-cvslog mailing list