diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-09-28 03:12:24 +0400 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-09-28 03:12:24 +0400 |
commit | 7a8b7634c58099402c0cb434d35fa6b9f1fd9d33 (patch) | |
tree | a8c6b9a5485c8fa6524db2a380331a7c6c312e41 | |
parent | 78cb727302064490b37ccef6c5b150a178f73b5a (diff) |
assdec: don't remove CR, they are part of the spec
Originally committed as revision 15442 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/assdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |