[FFmpeg-cvslog] x86inc: Only define program_name if the macro is unset
Diego Biurrun
git at videolan.org
Sat Nov 3 13:44:25 CET 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Oct 30 02:54:25 2012 +0100| [012f73e271638430e035ca68f5803dc2356d6a3e] | committer: Diego Biurrun
x86inc: Only define program_name if the macro is unset
This allows overriding the value from outside of the file.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=012f73e271638430e035ca68f5803dc2356d6a3e
---
libavutil/x86/x86inc.asm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
index 1fe9f55..b0df2b2 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -34,7 +34,9 @@
; as this feature might be useful for others as well. Send patches or ideas
; to x264-devel at videolan.org .
-%define program_name ff
+%ifndef program_name
+ %define program_name ff
+%endif
%define WIN64 0
%define UNIX64 0
More information about the ffmpeg-cvslog
mailing list