summaryrefslogtreecommitdiff
path: root/libavformat/assdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/assdec.c')
-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);