[FFmpeg-devel] handle carriage returns in cleanws()

Michael Niedermayer michaelni at gmx.at
Sat Oct 19 00:37:55 CEST 2013


On Sat, Aug 17, 2013 at 09:58:54PM +0800, 俞晓磊 wrote:
> When configuring ffmpeg in a cygwin shell for a non-cygwin toolchain,
> the generated cc_ident contains a carriage return, which is propagated
> into config.h.
> The cause seems to be that cygwin treats carriage return as a normal character.
> I can workaround this by adding 's/\r//' to cleanws' sed command in a
> patching step.
> 

> I don't know whether cygwin + non-cygwin toolchain is supported by
> ffmpeg, but it would be nice if cleanws removes '\r' by default.

added 's/\r//g'

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131019/b153d14e/attachment.asc>


More information about the ffmpeg-devel mailing list