summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/vcr1.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2004-02-01 05:31:16 +0000
committerMike Melanson <mike@multimedia.cx>2004-02-01 05:31:16 +0000
commit61d793ef13ac2ef8f9c2b41b71430f21fac80337 (patch)
tree69a1b20b01993b4d61fe1c8c2be33dd2e362a40c /src/libffmpeg/libavcodec/vcr1.c
parentf707774ac5d48c02c6a36327304d88629b0e38f9 (diff)
downloadxine-lib-61d793ef13ac2ef8f9c2b41b71430f21fac80337.tar.gz
xine-lib-61d793ef13ac2ef8f9c2b41b71430f21fac80337.tar.bz2
sync to ffmpeg build 4699
CVS patchset: 6090 CVS date: 2004/02/01 05:31:16
Diffstat (limited to 'src/libffmpeg/libavcodec/vcr1.c')
-rw-r--r--src/libffmpeg/libavcodec/vcr1.c4
1 files changed, 1 insertions, 3 deletions
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){