[FFmpeg-devel] [PATCH] Define FFMPEG_PREFIX in config.h

Måns Rullgård mans
Tue Sep 30 00:48:44 CEST 2008


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> Hi, as in subject,
>
> conceived for supporting $prefix/share/ffmpeg preset paths but useful
> by its own.
>
> Regards.
> -- 
> FFmpeg = Frightening Foolish Multipurpose Proud Erudite God
>
> Index: configure
> ===================================================================
> --- configure	(revision 15451)
> +++ configure	(working copy)
> @@ -2055,6 +2055,7 @@
>  echo "#define FFMPEG_CONFIGURATION \"$FFMPEG_CONFIGURATION\"" >> $TMPH
>  
>  echo "FFMPEG_CONFIGURATION=$FFMPEG_CONFIGURATION" >> config.mak
> +echo "#define FFMPEG_PREFIX \"$prefix\"" >> $TMPH

What if $prefix contains '"' or '\' characters?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list