From 7a8b7634c58099402c0cb434d35fa6b9f1fd9d33 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sat, 27 Sep 2008 23:12:24 +0000 Subject: [PATCH] assdec: don't remove CR, they are part of the spec Originally committed as revision 15442 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/assdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/assdec.c b/libavformat/assdec.c index c5d319dffc..82e6a712d7 100644 --- a/libavformat/assdec.c +++ b/libavformat/assdec.c @@ -37,7 +37,7 @@ static void get_line(ByteIOContext *s, char *buf, int maxlen) do{ c = get_byte(s); - if (i < maxlen-1 && c != '\r') + if (i < maxlen-1) buf[i++] = c; }while(c != '\n' && c);