summaryrefslogtreecommitdiff
path: root/libavcodec/lcl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/lcl.c')
-rw-r--r--libavcodec/lcl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/lcl.c b/libavcodec/lcl.c
index bf04154a91..e710f942a1 100644
--- a/libavcodec/lcl.c
+++ b/libavcodec/lcl.c
@@ -214,10 +214,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
#endif
unsigned int len = buf_size;
- /* no supplementary picture */
- if (buf_size == 0)
- return 0;
-
if(c->pic.data[0])
avctx->release_buffer(avctx, &c->pic);