[Ffmpeg-devel] Bug in "configure" file.

Sergey Bondarenko enterit
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 [0] 2 790 29 41
> F +32 [0] 2 790 29 02
> E mailto:mbardiaux at mediaxim.be
>
> Mediaxim NV/SA
> Vorstlaan 191 Boulevard du Souverain
> Brussel 1160 Bruxelles
> http://www.mediaxim.com/
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>

Thanks for your  explanations!

I've found this in google search results:
"tr variants:
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 mailing list