Commit 2fc0cbd9 authored by Michael Niedermayer's avatar Michael Niedermayer

truemotion2: Fix av_log level and context

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 801a2a1d
......@@ -665,7 +665,7 @@ static inline void tm2_motion_block(TM2Context *ctx, AVFrame *pic, int bx, int b
my = av_clip(my, -(by * 4 + 4), ctx->avctx->height - by * 4);
if (4*bx+mx<0 || 4*by+my<0 || 4*bx+mx+4 > ctx->avctx->width || 4*by+my+4 > ctx->avctx->height) {
av_log(0,0, "MV out of picture\n");
av_log(ctx->avctx, AV_LOG_ERROR, "MV out of picture\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