From 61d793ef13ac2ef8f9c2b41b71430f21fac80337 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sun, 1 Feb 2004 05:31:16 +0000 Subject: sync to ffmpeg build 4699 CVS patchset: 6090 CVS date: 2004/02/01 05:31:16 --- src/libffmpeg/libavcodec/idcinvideo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libffmpeg/libavcodec/idcinvideo.c') diff --git a/src/libffmpeg/libavcodec/idcinvideo.c b/src/libffmpeg/libavcodec/idcinvideo.c index b3a658296..e53246bd1 100644 --- a/src/libffmpeg/libavcodec/idcinvideo.c +++ b/src/libffmpeg/libavcodec/idcinvideo.c @@ -158,7 +158,7 @@ static int idcin_decode_init(AVCodecContext *avctx) /* make sure the Huffman tables make it */ if (s->avctx->extradata_size != HUFFMAN_TABLE_SIZE) { - printf(" Id CIN video: expected extradata size of %d\n", HUFFMAN_TABLE_SIZE); + av_log(s->avctx, AV_LOG_ERROR, " Id CIN video: expected extradata size of %d\n", HUFFMAN_TABLE_SIZE); return -1; } @@ -193,7 +193,7 @@ static void idcin_decode_vlcs(IdcinContext *s) while(node_num >= HUF_TOKENS) { if(!bit_pos) { if(dat_pos > s->size) { - printf("Huffman decode error.\n"); + av_log(s->avctx, AV_LOG_ERROR, "Huffman decode error.\n"); return; } bit_pos = 8; @@ -225,7 +225,7 @@ static int idcin_decode_frame(AVCodecContext *avctx, avctx->release_buffer(avctx, &s->frame); if (avctx->get_buffer(avctx, &s->frame)) { - printf (" Id CIN Video: get_buffer() failed\n"); + av_log(avctx, AV_LOG_ERROR, " Id CIN Video: get_buffer() failed\n"); return -1; } -- cgit v1.2.3