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/vcr1.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libffmpeg/libavcodec/vcr1.c') diff --git a/src/libffmpeg/libavcodec/vcr1.c b/src/libffmpeg/libavcodec/vcr1.c index de1688443..4b8c9fc41 100644 --- a/src/libffmpeg/libavcodec/vcr1.c +++ b/src/libffmpeg/libavcodec/vcr1.c @@ -57,7 +57,7 @@ static int decode_frame(AVCodecContext *avctx, p->reference= 0; if(avctx->get_buffer(avctx, p) < 0){ - fprintf(stderr, "get_buffer() failed\n"); + av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return -1; } p->pict_type= I_TYPE; @@ -158,14 +158,12 @@ static int decode_init(AVCodecContext *avctx){ return 0; } -#ifdef CONFIG_ENCODERS static int encode_init(AVCodecContext *avctx){ common_init(avctx); return 0; } -#endif static int decode_end(AVCodecContext *avctx){ -- cgit v1.2.3