aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-09-27 23:12:24 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-09-27 23:12:24 +0000
commit7a8b7634c58099402c0cb434d35fa6b9f1fd9d33 (patch)
treea8c6b9a5485c8fa6524db2a380331a7c6c312e41
parent78cb727302064490b37ccef6c5b150a178f73b5a (diff)
downloadffmpeg-7a8b7634c58099402c0cb434d35fa6b9f1fd9d33.tar.gz
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.c2
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);