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