summaryrefslogtreecommitdiff
path: root/libavcodec/h261.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h261.c')
-rw-r--r--libavcodec/h261.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/h261.c b/libavcodec/h261.c
index 8536ea9c86..aceebaa381 100644
--- a/libavcodec/h261.c
+++ b/libavcodec/h261.c
@@ -925,11 +925,6 @@ static int h261_decode_frame(AVCodecContext *avctx,
s->flags= avctx->flags;
s->flags2= avctx->flags2;
- /* no supplementary picture */
- if (buf_size == 0) {
- return 0;
- }
-
h->gob_start_code_skipped=0;
retry: