aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-06-05 17:12:16 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-06-12 14:45:46 +0200
commit08859d19b429c522d6494c186656f4a2d3ff8e21 (patch)
tree68f58db2ac90e61542a9de57b1d48235beb1e8b0 /libavcodec
parent7ad5708691413f59a116bd8a6ff605d57c8c5663 (diff)
downloadffmpeg-08859d19b429c522d6494c186656f4a2d3ff8e21.tar.gz
4xm: use the correct logging context
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/4xm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index fd031348c4..71fe3f2d65 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -670,9 +670,9 @@ static int decode_i2_frame(FourXContext *f, AVFrame *frame, const uint8_t *buf,
color[1] = bytestream2_get_le16u(&g3);
if (color[0] & 0x8000)
- av_log(NULL, AV_LOG_ERROR, "unk bit 1\n");
+ av_log(f->avctx, AV_LOG_ERROR, "unk bit 1\n");
if (color[1] & 0x8000)
- av_log(NULL, AV_LOG_ERROR, "unk bit 2\n");
+ av_log(f->avctx, AV_LOG_ERROR, "unk bit 2\n");
color[2] = mix(color[0], color[1]);
color[3] = mix(color[1], color[0]);