Commit ed7b99bb authored by Steven M. Schultz's avatar Steven M. Schultz Committed by Michael Niedermayer

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

Originally committed as revision 2811 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c62c07d3
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment