Commit 7a8b7634 authored by Aurelien Jacobs's avatar Aurelien Jacobs

assdec: don't remove CR, they are part of the spec

Originally committed as revision 15442 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 78cb7273
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment