[FFmpeg-devel] [PATCH] avutil: expand the size of LINE_SZ to 2048.

Michael Niedermayer michaelni at gmx.at
Wed Aug 7 10:49:53 CEST 2013

On Tue, Aug 06, 2013 at 08:55:49PM -0400, Stephen Hutchinson wrote:
> It's possible to make FFMPEG_CONFIGURATION exceed the 1024 limit,
> causing a cosmetic issue when invoking the ff* binaries. 2048
> should be more than enough to fit it comfortably.
> ---
>  libavutil/log.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

maybe the way FFMPEG_CONFIGURATION is printed could be changed so
its nicer formated and then also is printed in smaller parts not
needing this.

I dont think 2048 is enough, one could arbitrarily repeat --enables
or list all codecs explicitly or have very long pathes, ...

and always increasing LINE_SZ would eventually cause problems with
embeded systems that have only little stack space (such do exist


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- 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/20130807/745aa80c/attachment.asc>

More information about the ffmpeg-devel mailing list