projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78cb727
)
assdec: don't remove CR, they are part of the spec
author
Aurelien Jacobs
<aurel@gnuage.org>
Sat, 27 Sep 2008 23:12:24 +0000
(23:12 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Sat, 27 Sep 2008 23:12:24 +0000
(23:12 +0000)
Originally committed as revision 15442 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/assdec.c
patch
|
blob
|
history
diff --git
a/libavformat/assdec.c
b/libavformat/assdec.c
index
c5d319d
..
82e6a71
100644
(file)
--- 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);