aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-06-05 17:12:16 +0200
committerReinhard Tartler <siretart@tauware.de>2013-06-30 16:19:24 +0200
commit284ac9191b755ffce1475687b597a8a738d511c6 (patch)
tree5e15cb154825005585144b1105f2d15f99eb84d1
parente797b7787b258be7561939904442165510f381a6 (diff)
downloadffmpeg-284ac9191b755ffce1475687b597a8a738d511c6.tar.gz
4xm: use the correct logging context
(cherry picked from commit 08859d19b429c522d6494c186656f4a2d3ff8e21) Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Conflicts: libavcodec/4xm.c
-rw-r--r--libavcodec/4xm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index efaf939062..735cfcf73a 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -633,8 +633,8 @@ static int decode_i2_frame(FourXContext *f, const uint8_t *buf, int length){
color[0]= bytestream2_get_le16u(&g3);
color[1]= bytestream2_get_le16u(&g3);
- if(color[0]&0x8000) av_log(NULL, AV_LOG_ERROR, "unk bit 1\n");
- if(color[1]&0x8000) av_log(NULL, AV_LOG_ERROR, "unk bit 2\n");
+ if(color[0]&0x8000) av_log(f->avctx, AV_LOG_ERROR, "unk bit 1\n");
+ if(color[1]&0x8000) 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]);