diff motion_est.c @ 1598:932d306bf1dc libavcodec

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
author michael
date Mon, 03 Nov 2003 13:26:22 +0000
parents 3ee63c12ea30
children 27806cccec2a
line wrap: on
line diff
--- a/motion_est.c	Sun Nov 02 23:19:47 2003 +0000
+++ b/motion_est.c	Mon Nov 03 13:26:22 2003 +0000
@@ -322,7 +322,7 @@
         }
         break;
     default:
-        fprintf(stderr,"internal error in cmp function selection\n");
+        av_log(s->avctx, AV_LOG_ERROR,"internal error in cmp function selection\n");
     }
 }