diff options
Diffstat (limited to 'libavcodec/mdec.c')
-rw-r--r-- | libavcodec/mdec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c index cf3a1d347b..a71f050cde 100644 --- a/libavcodec/mdec.c +++ b/libavcodec/mdec.c @@ -163,11 +163,6 @@ static int decode_frame(AVCodecContext *avctx, AVFrame * const p= (AVFrame*)&a->picture; int i; - /* special case for last picture */ - if (buf_size == 0) { - return 0; - } - if(p->data[0]) avctx->release_buffer(avctx, p); |