[FFmpeg-devel] [PATCH] avformat/aviobuf/ff_get_line: also accept \r as end of line character

tim nicholson nichot20 at yahoo.com
Tue May 13 15:43:46 CEST 2014


On 13/05/14 12:53, Derek Buitenhuis wrote:
> On 5/12/2014 11:29 PM, Michael Niedermayer wrote:
>> Fixes Ticket3108
>>
>> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
>> ---
>>  libavformat/aviobuf.c |    4 +++-
>>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> Do Macs really still use CR? I thought they stopped
> that years and years ago?
> 

They used to us CR and LF in the reverse order to Windows. (and I always
forget which was which)

These days they follow the Unix convention for reasons I cannot quite
explain ;)


> Patch makes me a bit nervous, but I can't really put
> my finger on why it does, so take that with a grain
> of salt.
> 
> - Derek
> 

-- 
Tim



More information about the ffmpeg-devel mailing list