summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-04-09 14:52:00 +0200
committerClément Bœsch <u@pkh.me>2017-04-09 14:52:00 +0200
commit210678d3c5176d594bc9407cd73815944212fb9b (patch)
tree8ea276ed314910fd94bea7afd7c3422c1c410bd2 /compat
parenta329b822e17a39c173ffc5dfcc0dd21c95da1d9c (diff)
parent3794062ab1a13442b06f6d76c54dce51ffa54697 (diff)
downloadffmpeg-streaming-210678d3c5176d594bc9407cd73815944212fb9b.zip
ffmpeg-streaming-210678d3c5176d594bc9407cd73815944212fb9b.tar.gz
Merge commit '3794062ab1a13442b06f6d76c54dce51ffa54697'
* commit '3794062ab1a13442b06f6d76c54dce51ffa54697': Remove Plan 9 support Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'compat')
-rwxr-xr-xcompat/plan9/head10
-rw-r--r--compat/plan9/main.c34
-rwxr-xr-xcompat/plan9/printf2
3 files changed, 0 insertions, 46 deletions
diff --git a/compat/plan9/head b/compat/plan9/head
deleted file mode 100755
index 2840b2d..0000000
--- a/compat/plan9/head
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-n=10
-
-case "$1" in
- -n) n=$2; shift 2 ;;
- -n*) n=${1#-n}; shift ;;
-esac
-
-exec sed ${n}q "$@"
diff --git a/compat/plan9/main.c b/compat/plan9/main.c
deleted file mode 100644
index d46f96d..0000000
--- a/compat/plan9/main.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * This file is part of FFmpeg.
- *
- * FFmpeg is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * FFmpeg is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with FFmpeg; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-int plan9_main(int argc, char **argv);
-
-#undef main
-int main(int argc, char **argv)
-{
- /* The setfcr() function in lib9 is broken, must use asm. */
-#ifdef __i386
- short fcr;
- __asm__ volatile ("fstcw %0 \n"
- "or $63, %0 \n"
- "fldcw %0 \n"
- : "=m"(fcr));
-#endif
-
- return plan9_main(argc, argv);
-}
diff --git a/compat/plan9/printf b/compat/plan9/printf
deleted file mode 100755
index 1a70a9e..0000000
--- a/compat/plan9/printf
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec awk "BEGIN { for (i = 2; i < ARGC; i++) printf \"$1\", ARGV[i] }" "$@"
OpenPOWER on IntegriCloud