From 9b879566789379631f02b83be367ca55c88a1ae9 Mon Sep 17 00:00:00 2001 From: Michel Bardiaux Date: Mon, 3 Nov 2003 13:26:22 +0000 Subject: av_log() patch by (Michel Bardiaux ) Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/roqvideo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/roqvideo.c') diff --git a/libavcodec/roqvideo.c b/libavcodec/roqvideo.c index f1cb52805e..bd26961dc1 100644 --- a/libavcodec/roqvideo.c +++ b/libavcodec/roqvideo.c @@ -411,7 +411,7 @@ static void roqvideo_decode_frame(RoqContext *ri) } break; default: - printf("Unknown vq code: %d\n", vqid); + av_log(ri->avctx, AV_LOG_ERROR, "Unknown vq code: %d\n", vqid); } } @@ -453,7 +453,7 @@ static int roq_decode_frame(AVCodecContext *avctx, *data_size = 0; if (avctx->get_buffer(avctx, &s->current_frame)) { - printf (" RoQ: get_buffer() failed\n"); + av_log(avctx, AV_LOG_ERROR, " RoQ: get_buffer() failed\n"); return -1; } s->y_stride = s->current_frame.linesize[0]; -- cgit v1.2.3