summaryrefslogtreecommitdiff
path: root/libavcodec/smc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/smc.c')
-rw-r--r--libavcodec/smc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/smc.c b/libavcodec/smc.c
index 47c7d93d4c..dbb5adef1d 100644
--- a/libavcodec/smc.c
+++ b/libavcodec/smc.c
@@ -448,10 +448,6 @@ static int smc_decode_frame(AVCodecContext *avctx,
{
SmcContext *s = (SmcContext *)avctx->priv_data;
- /* no supplementary picture */
- if (buf_size == 0)
- return 0;
-
s->buf = buf;
s->size = buf_size;