av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

Originally committed as revision 2811 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Steven M. Schultz 2004-02-23 21:18:29 +00:00 committed by Michael Niedermayer
parent c62c07d3d7
commit ed7b99bbe2
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}