Add configuration file for ffmpeg. Add script to add processor specific guards to certain files.

This commit is contained in:
Steve Checkoway
2007-11-11 21:06:42 +00:00
parent f05692736a
commit 12cee09347
2 changed files with 1101 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
for i in ffmpeg/libavcodec/ppc/*.[hc] \
ffmpeg/libswscale/yuv2rgb_altivec.c; do
sed -i '' -e '1i\
#ifdef __ppc__
$a\
#endif' $i
done
for i in ffmpeg/libavcodec/i386/*.[hc]; do
sed -i '' -e '1i\
#ifdef __i386__
$a\
#endif' $i
done