[FFmpeg-cvslog] ansi: remove misplaced return

Peter Ross git at videolan.org
Sat Sep 1 15:30:01 CEST 2012


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Sat Sep  1 15:15:13 2012 +1000| [368a768cbcbf9320fcd8cf6c2ecb7f6904837a95] | committer: Michael Niedermayer

ansi: remove misplaced return

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=368a768cbcbf9320fcd8cf6c2ecb7f6904837a95
---

 libavcodec/ansi.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/ansi.c b/libavcodec/ansi.c
index 7fef305..3f06fa4 100644
--- a/libavcodec/ansi.c
+++ b/libavcodec/ansi.c
@@ -372,7 +372,6 @@ static int decode_frame(AVCodecContext *avctx,
             } else {
                 s->state = STATE_NORMAL;
                 draw_char(avctx, 0x1B);
-                    return -1;
                 continue;
             }
             break;



More information about the ffmpeg-cvslog mailing list