diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-23 01:19:26 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-23 01:19:26 +0100 |
commit | 2fc0cbd9a62bac4f383f4655476c53ce6d68ce5a (patch) | |
tree | 82ec6137be6de47057efc875634309932c6b86ce /libavcodec/truemotion2.c | |
parent | 801a2a1df05d35c1c629e7b9dd7e9f584febcd67 (diff) | |
download | ffmpeg-2fc0cbd9a62bac4f383f4655476c53ce6d68ce5a.tar.gz |
truemotion2: Fix av_log level and context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/truemotion2.c')
-rw-r--r-- | libavcodec/truemotion2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index 7ef35ff2b6..f1e24b729c 100644 --- a/libavcodec/truemotion2.c +++ b/libavcodec/truemotion2.c @@ -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; } |