[Ffmpeg-devel] Bug in "configure" file.
Tue Aug 29 12:37:08 CEST 2006
2006/8/29, Michel Bardiaux <mbardiaux at mediaxim.be>:
> Sergey Bondarenko wrote:
> > Hello Mishel!
> > Thanks for your answer.
> > 2006/8/29, Michel Bardiaux <mbardiaux at mediaxim.be>:
> >> Actually, tr '[a-z]' '[A-Z]', the quotes are needed.
> > You right, the quotes are needed. And square brackets are needed too.
> Not with GNU tr, but they cant harm.
> > I've updated ffmpeg from svn.
> > There is
> > for codec in $DECODER_LIST $ENCODER_LIST $PARSER_LIST $DEMUXER_LIST
> > $MUXER_LIST; do
> > echo "#define CONFIG_`echo $codec | tr a-z A-Z` 1" >> $TMPH
> > echo "CONFIG_`echo $codec | tr a-z A-Z`=yes" >> config.mak
> > done
> > in file "configure" (lines 2153-2157).
> > Can I replace " tr a-z A-Z " by " tr '[a-z]' '[A-Z]' " and commit
> > changes to repository ?
> Mmm, if you have to ask you probably dont have commit rights.
> > Another question. Should I send bug reports to this address
> > (fmpeg-devel at mplayerhq.hu) or I should use some other email?
> What is important is to submit change as proper patches, with [PATCH] in
> the subject line.
> Michel Bardiaux
> R&D Director
> T +32  2 790 29 41
> F +32  2 790 29 02
> E mailto:mbardiaux at mediaxim.be
> Mediaxim NV/SA
> Vorstlaan 191 Boulevard du Souverain
> Brussel 1160 Bruxelles
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
Thanks for your explanations!
I've found this in google search results:
The tr utility has two historic variants. The BSD version does not use
brackets (tr a-z A-Z), but the SysV one does (tr '[a-z]' '[A-Z]'). The
GNU version of tr resembles the BSD one, so quoting letter ranges
within brackets is mandatory.
That's why after building on SunOs i've got unexpected result: ffmpeg
was built succesfully, but it did not support any codec :).
I've spent a lot of time to find out the cause of problem.
I've found several letters with [PATCH] in the subject line. So think
it will be useful for me in future.
More information about the ffmpeg-devel