changeset 3950:45684dea4c9b libavformat

assdec: don't remove CR, they are part of the spec
author aurel
date Sat, 27 Sep 2008 23:12:24 +0000
parents 8d94741841b2
children 9315ab7b1c0d
files assdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/assdec.c	Sat Sep 27 20:05:12 2008 +0000
+++ b/assdec.c	Sat Sep 27 23:12:24 2008 +0000
@@ -37,7 +37,7 @@
 
     do{
         c = get_byte(s);
-        if (i < maxlen-1 && c != '\r')
+        if (i < maxlen-1)
             buf[i++] = c;
     }while(c != '\n' && c);