summaryrefslogtreecommitdiffstats
path: root/vlc/build/faac_pipe.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-12-12 21:36:21 +0000
committer Eric Hameleers <alien@slackware.com>2007-12-12 21:36:21 +0000
commit9314e771510f696f53c775471866f642e031bea3 (patch)
tree33bd18755b98f78971816d5647439eb803457ed2 /vlc/build/faac_pipe.patch
parentb11c40fb956b3418d86f01c055472144538af167 (diff)
downloadasb-9314e771510f696f53c775471866f642e031bea3.tar.gz
asb-9314e771510f696f53c775471866f642e031bea3.tar.xz
Initial revision
Diffstat (limited to '')
-rw-r--r--vlc/build/faac_pipe.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/vlc/build/faac_pipe.patch b/vlc/build/faac_pipe.patch
new file mode 100644
index 00000000..2dfe9db8
--- /dev/null
+++ b/vlc/build/faac_pipe.patch
@@ -0,0 +1,20 @@
+diff -uNr faac.origin/frontend/main.c faac/frontend/main.c
+--- faac.origin/frontend/main.c 2004-12-08 13:07:17.000000000 +0200
++++ faac/frontend/main.c 2007-04-17 14:45:01.000000000 +0300
+@@ -918,7 +918,15 @@
+ {
+ #endif
+ /* open the aac output file */
+- outfile = fopen(aacFileName, "wb");
++ if(('-' == aacFileName[0])&&(0 == aacFileName[1]))
++ {
++ outfile = stdout;
++ }
++ else
++ {
++ outfile = fopen(aacFileName, "wb");
++ };
++
+ if (!outfile)
+ {
+ fprintf(stderr, "Couldn't create output file %s\n", aacFileName);