]> git.sesse.net Git - ffmpeg/commit
ass_split: accept files with only \n and no \r.
authorNicolas George <nicolas.george@normalesup.org>
Wed, 29 Feb 2012 12:46:32 +0000 (13:46 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Wed, 7 Mar 2012 15:41:30 +0000 (16:41 +0100)
commitc088b7f389ebeaf1070d63ac9d38ef20bae0c7cb
treeb0e619450201e0bcdd85f40fadc148867e6459de
parente5dd4ae7284bb290d8dc8e9cd3f2e035d1d77cd0
ass_split: accept files with only \n and no \r.

The +1 is there to skip the ','.
With \r\n, the +1 skips the \r but that is ok.
With only \n, the +1 skips it and all hell breaks loose.
libavcodec/ass_split.c