Browse Source

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

Originally committed as revision 15442 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs 17 years ago
parent
commit
7a8b7634c5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/assdec.c

+ 1
- 1
libavformat/assdec.c View File

@@ -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…
Cancel
Save