ansi: remove an extra return
authorAnton Khirnov <anton@khirnov.net>
Wed, 14 Nov 2012 13:28:36 +0000 (14:28 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sun, 23 Dec 2012 10:17:53 +0000 (11:17 +0100)
libavcodec/ansi.c

index edd373d..c2a1d83 100644 (file)
@@ -370,7 +370,6 @@ static int decode_frame(AVCodecContext *avctx,
             } else {
                 s->state = STATE_NORMAL;
                 draw_char(avctx, 0x1B);
             } else {
                 s->state = STATE_NORMAL;
                 draw_char(avctx, 0x1B);
-                    return -1;
                 continue;
             }
             break;
                 continue;
             }
             break;