From f7da12350ea82ad7193bc593b83b38607a8f4c40 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 8 Dec 2011 13:48:24 +0100 Subject: [PATCH] escape130: give all av_log() a context Signed-off-by: Michael Niedermayer --- libavcodec/escape130.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/escape130.c b/libavcodec/escape130.c index e3722c51c8..be5327cf3a 100644 --- a/libavcodec/escape130.c +++ b/libavcodec/escape130.c @@ -151,7 +151,7 @@ static int escape130_decode_frame(AVCodecContext *avctx, old_cb_stride = s->frame.linesize[1]; old_cr_stride = s->frame.linesize[2]; - av_log(NULL, AV_LOG_DEBUG, + av_log(avctx, AV_LOG_DEBUG, "Strides: %i, %i\n", new_y_stride, new_cb_stride); @@ -296,7 +296,7 @@ static int escape130_decode_frame(AVCodecContext *avctx, skip--; } - av_log(NULL, AV_LOG_DEBUG, + av_log(avctx, AV_LOG_DEBUG, "Escape sizes: %i, %i\n", buf_size, get_bits_count(&gb) / 8);