diff options
Diffstat (limited to 'src/libffmpeg/libavcodec/vcr1.c')
-rw-r--r-- | src/libffmpeg/libavcodec/vcr1.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libffmpeg/libavcodec/vcr1.c b/src/libffmpeg/libavcodec/vcr1.c index 9a706af31..442ad9136 100644 --- a/src/libffmpeg/libavcodec/vcr1.c +++ b/src/libffmpeg/libavcodec/vcr1.c @@ -45,11 +45,6 @@ static int decode_frame(AVCodecContext *avctx, uint8_t *bytestream= buf; int i, x, y; - /* special case for last picture */ - if (buf_size == 0) { - return 0; - } - if(p->data[0]) avctx->release_buffer(avctx, p); @@ -156,12 +151,14 @@ static int decode_init(AVCodecContext *avctx){ return 0; } +#if 0 static int encode_init(AVCodecContext *avctx){ common_init(avctx); return 0; } +#endif AVCodec vcr1_decoder = { "vcr1", |