diff motion_est.c @ 2846:40765c51a7a9 libavcodec

Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
author michael
date Fri, 26 Aug 2005 19:05:44 +0000
parents fd5d7c732c6b
children ef2149182f1c
line wrap: on
line diff
--- a/motion_est.c	Fri Aug 26 15:41:28 2005 +0000
+++ b/motion_est.c	Fri Aug 26 19:05:44 2005 +0000
@@ -441,7 +441,7 @@
     } while (range >= 1);
 
 #ifdef DEBUG
-    fprintf(stderr, "log       - MX: %d\tMY: %d\n", mx, my);
+    av_log(s->avctx, AV_LOG_DEBUG, "log       - MX: %d\tMY: %d\n", mx, my);
 #endif
     *mx_ptr = mx;
     *my_ptr = my;
@@ -530,7 +530,7 @@
     } while (range >= 1);
 
 #ifdef DEBUG
-    fprintf(stderr, "phods     - MX: %d\tMY: %d\n", mx, my);
+    av_log(s->avctx, AV_LOG_DEBUG, "phods     - MX: %d\tMY: %d\n", mx, my);
 #endif
 
     /* half pixel search */