summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideo.c
diff options
context:
space:
mode:
authorMichel Bardiaux <mbardiaux@peaktime.be>2003-11-03 13:26:22 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-11-03 13:26:22 +0000
commit9b879566789379631f02b83be367ca55c88a1ae9 (patch)
treeee2b274b74329eb94548dc6c85bc966485c75d2a /libavcodec/roqvideo.c
parent8bae9ddc91f6a083d420494bbd652d8258649066 (diff)
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/roqvideo.c')
-rw-r--r--libavcodec/roqvideo.c4
1 files changed, 2 insertions, 2 deletions
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];