aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-05-23 19:53:08 +0000
committerPaul B Mahol <onemda@gmail.com>2013-05-23 19:53:08 +0000
commitcdc3f8f3072eb2aff1eb515d0a958e2991e62b96 (patch)
treeb8c39605cd5342b8b9262edb6dfd1c85ee459541
parentabf1e59ef2f70f43043b37228553a19cbe6eb952 (diff)
downloadffmpeg-cdc3f8f3072eb2aff1eb515d0a958e2991e62b96.tar.gz
escape124: pass context to av_log()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/escape124.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/escape124.c b/libavcodec/escape124.c
index 3c83e588f1..43caa7ee11 100644
--- a/libavcodec/escape124.c
+++ b/libavcodec/escape124.c
@@ -234,7 +234,7 @@ static int escape124_decode_frame(AVCodecContext *avctx,
if (!s->frame.data[0])
return AVERROR_INVALIDDATA;
- av_log(NULL, AV_LOG_DEBUG, "Skipping frame\n");
+ av_log(avctx, AV_LOG_DEBUG, "Skipping frame\n");
*got_frame = 1;
if ((ret = av_frame_ref(frame, &s->frame)) < 0)
@@ -352,7 +352,7 @@ static int escape124_decode_frame(AVCodecContext *avctx,
skip--;
}
- av_log(NULL, AV_LOG_DEBUG,
+ av_log(avctx, AV_LOG_DEBUG,
"Escape sizes: %i, %i, %i\n",
frame_size, buf_size, get_bits_count(&gb) / 8);