From 596600daa61aa47ba24b173d1372c6fd01c4a547 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 7 Feb 2011 03:28:42 +0100 Subject: [PATCH] faad2: remove unneeded patch Signed-off-by: Stephan Raue --- .../audio/faad2/patches/faad2-2.7-stdio.patch | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 packages/audio/faad2/patches/faad2-2.7-stdio.patch diff --git a/packages/audio/faad2/patches/faad2-2.7-stdio.patch b/packages/audio/faad2/patches/faad2-2.7-stdio.patch deleted file mode 100644 index 8a2d559f9a..0000000000 --- a/packages/audio/faad2/patches/faad2-2.7-stdio.patch +++ /dev/null @@ -1,35 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 10_faad-stdio.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: No description. - -@DPATCH@ -diff -urNad faad2-2.6.1~/frontend/faad.man faad2-2.6.1/frontend/faad.man ---- faad2-2.6.1~/frontend/faad.man 2008-06-17 04:27:16.000000000 +0100 -+++ faad2-2.6.1/frontend/faad.man 2008-06-17 04:27:17.000000000 +0100 -@@ -73,7 +73,7 @@ - Quiet \- Suppresses status messages during processing. - .TP - .B \-t ", \-\^\-oldformat" --Sets the processing to use the old MPEG\(hy4 AAC ADTS format when outputting in said format. -+Sets the processing output to be sent to the standard out. Only raw PCM may be sent to the standard out, as headers cannot currently be streamed. - .TP - .B \-w ", \-\^\-stdio" - Sets the processing output to be sent to the standard out. -diff -urNad faad2-2.6.1~/frontend/main.c faad2-2.6.1/frontend/main.c ---- faad2-2.6.1~/frontend/main.c 2007-11-01 12:33:29.000000000 +0000 -+++ faad2-2.6.1/frontend/main.c 2008-06-17 03:58:33.000000000 +0100 -@@ -1190,9 +1190,10 @@ - } - - /* only allow raw data on stdio */ -- if (writeToStdio == 1) -+ if (writeToStdio && (format != 2)) - { -- format = 2; -+ faad_fprintf(stderr, "Only raw PCM data (2) may be sent to the standard out.\n"); -+ return 1; - } - - /* point to the specified file name */