summaryrefslogtreecommitdiff
path: root/libavcodec/xan.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/xan.c')
-rw-r--r--libavcodec/xan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/xan.c b/libavcodec/xan.c
index 49e207677f..4dad2e2141 100644
--- a/libavcodec/xan.c
+++ b/libavcodec/xan.c
@@ -116,7 +116,7 @@ static int xan_decode_init(AVCodecContext *avctx)
if ((avctx->codec->id == CODEC_ID_XAN_WC3) &&
(s->avctx->palctrl == NULL)) {
- printf (" WC3 Xan video: palette expected.\n");
+ av_log(avctx, AV_LOG_ERROR, " WC3 Xan video: palette expected.\n");
return -1;
}
@@ -336,7 +336,7 @@ static void inline xan_wc3_build_palette(XanContext *s,
break;
default:
- printf (" Xan WC3: Unhandled colorspace\n");
+ av_log(s->avctx, AV_LOG_ERROR, " Xan WC3: Unhandled colorspace\n");
break;
}
}
@@ -457,7 +457,7 @@ static void inline xan_wc3_output_pixel_run(XanContext *s,
break;
default:
- printf (" Xan WC3: Unhandled colorspace\n");
+ av_log(s->avctx, AV_LOG_ERROR, " Xan WC3: Unhandled colorspace\n");
break;
}
}
@@ -600,7 +600,7 @@ static void inline xan_wc3_copy_pixel_run(XanContext *s,
break;
default:
- printf (" Xan WC3: Unhandled colorspace\n");
+ av_log(s->avctx, AV_LOG_ERROR, " Xan WC3: Unhandled colorspace\n");
break;
}
}
@@ -761,7 +761,7 @@ static int xan_decode_frame(AVCodecContext *avctx,
}
if (avctx->get_buffer(avctx, &s->current_frame)) {
- printf (" Xan Video: get_buffer() failed\n");
+ av_log(s->avctx, AV_LOG_ERROR, " Xan Video: get_buffer() failed\n");
return -1;
}
s->current_frame.reference = 3;