mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
assdec: don't remove CR, they are part of the spec
Originally committed as revision 15442 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
78cb727302
commit
7a8b7634c5
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user