]> git.sesse.net Git - ffmpeg/commitdiff
x86inc: Only define program_name if the macro is unset
authorDiego Biurrun <diego@biurrun.de>
Tue, 30 Oct 2012 01:54:25 +0000 (02:54 +0100)
committerDiego Biurrun <diego@biurrun.de>
Fri, 2 Nov 2012 13:38:00 +0000 (14:38 +0100)
This allows overriding the value from outside of the file.

libavutil/x86/x86inc.asm

index 1fe9f5550c094f98d6bef4be6c4c5332c5514a45..b0df2b20f074f732bfe5fa5ce0070fee716dc2b2 100644 (file)
@@ -34,7 +34,9 @@
 ; as this feature might be useful for others as well.  Send patches or ideas
 ; to x264-devel@videolan.org .
 
-%define program_name ff
+%ifndef program_name
+    %define program_name ff
+%endif
 
 %define WIN64  0
 %define UNIX64 0