changeset 1828:bc8f5e1635b9 libavcodec

av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
author michael
date Mon, 23 Feb 2004 21:18:29 +0000
parents fcbf31baa1af
children 7ae26b6e197f
files ppc/mpegvideo_ppc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/mpegvideo_ppc.c	Mon Feb 23 20:56:56 2004 +0000
+++ b/ppc/mpegvideo_ppc.c	Mon Feb 23 21:18:29 2004 +0000
@@ -55,14 +55,14 @@
         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;
         }