summaryrefslogtreecommitdiff
path: root/libavcodec/xl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/xl.c')
-rw-r--r--libavcodec/xl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/xl.c b/libavcodec/xl.c
index 0f496017d9..2ba48eb278 100644
--- a/libavcodec/xl.c
+++ b/libavcodec/xl.c
@@ -48,12 +48,6 @@ static int decode_frame(AVCodecContext *avctx,
int stride;
uint32_t val;
int y0, y1, y2, y3, c0, c1;
-
-
- /* special case for last picture */
- if (buf_size == 0) {
- return 0;
- }
if(p->data[0])
avctx->release_buffer(avctx, p);