From 8ac5c1b2d343ef6c1c759d3fb5a32de984ff9ab5 Mon Sep 17 00:00:00 2001 From: "Steven M. Schultz" Date: Wed, 25 Feb 2004 02:47:53 +0000 Subject: [PATCH] av_log() patch by ("Steven M. Schultz" ) Originally committed as revision 2813 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/xvmcvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/xvmcvideo.c b/libavcodec/xvmcvideo.c index 6e6e58fd40..eed9860338 100644 --- a/libavcodec/xvmcvideo.c +++ b/libavcodec/xvmcvideo.c @@ -146,7 +146,7 @@ const int mb_xy = s->mb_y * s->mb_stride + s->mb_x; if(s->encoding){ - fprintf(stderr,"XVMC doesn't support encoding!!!\n"); + av_log(s->avctx, AV_LOG_ERROR, "XVMC doesn't support encoding!!!\n"); av_abort(); }