[FFmpeg-devel] [PATCH 1/4] ansi: remove misplaced return

Peter Ross pross at xvid.org
Sat Sep 1 07:15:13 CEST 2012


---
Thanks to Michael for spotting this one.
(This only affected broken escape sequences)

 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;
-- 
1.7.10.4

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120901/7d66ab7f/attachment.asc>


More information about the ffmpeg-devel mailing list