From ed7b99bbe26858de3f6c019359f69b00b94b5aa1 Mon Sep 17 00:00:00 2001
From: "Steven M. Schultz" <sms@2bsd.com>
Date: Mon, 23 Feb 2004 21:18:29 +0000
Subject: [PATCH]  av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot
 COM>)

Originally committed as revision 2811 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/ppc/mpegvideo_ppc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/ppc/mpegvideo_ppc.c b/libavcodec/ppc/mpegvideo_ppc.c
index b88b167ab13..54e6f35c2a0 100644
--- a/libavcodec/ppc/mpegvideo_ppc.c
+++ b/libavcodec/ppc/mpegvideo_ppc.c
@@ -55,14 +55,14 @@ void MPV_common_init_ppc(MpegEncContext *s)
         if ((((long)(s->q_intra_matrix) & 0x0f) != 0) ||
                 (((long)(s->q_inter_matrix) & 0x0f) != 0))
         {
-            fprintf(stderr, "Internal Error: q-matrix blocks must be 16-byte aligned "
+            av_log(s->avctx, AV_LOG_INFO, "Internal Error: q-matrix blocks must be 16-byte aligned "
                     "to use Altivec DCT. Reverting to non-altivec version.\n");
             return;
         }
 
         if (((long)(s->intra_scantable.inverse) & 0x0f) != 0)
         {
-            fprintf(stderr, "Internal Error: scan table blocks must be 16-byte aligned "
+            av_log(s->avctx, AV_LOG_INFO, "Internal Error: scan table blocks must be 16-byte aligned "
                     "to use Altivec DCT. Reverting to non-altivec version.\n");
             return;
         }
-- 
GitLab