summaryrefslogtreecommitdiff
path: root/libavcodec/svq1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r--libavcodec/svq1.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c
index c719a8ef22..f5c3c7774a 100644
--- a/libavcodec/svq1.c
+++ b/libavcodec/svq1.c
@@ -713,10 +713,6 @@ static int svq1_decode_frame(AVCodecContext *avctx,
int result, i, x, y, width, height;
AVFrame *pict = data;
- if(buf==NULL && buf_size==0){
- return 0;
- }
-
/* initialize bit buffer */
init_get_bits(&s->gb,buf,buf_size*8);