diff options
Diffstat (limited to 'libavcodec/png.c')
-rw-r--r-- | libavcodec/png.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/png.c b/libavcodec/png.c index 2945d0cc54..637a229171 100644 --- a/libavcodec/png.c +++ b/libavcodec/png.c @@ -479,11 +479,6 @@ static int decode_frame(AVCodecContext *avctx, uint32_t tag, length; int ret, crc; - /* special case for last picture */ - if (buf_size == 0) { - return 0; - } - s->bytestream_start= s->bytestream= buf; s->bytestream_end= buf + buf_size; |