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(); }