forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-17 557c24d082b6ecb9bfe5407b77ae43fa7650a5dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From d0313be5fb947df399a4db24a5f9244510d2ce87 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 12 Jul 2017 16:36:06 -0700
Subject: [PATCH] remove the #error line and live without file-type detection
 with pipes
 
this fallback is executed with musl
 
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 src/formats.c | 1 -
 1 file changed, 1 deletion(-)
 
diff --git a/src/formats.c b/src/formats.c
index 724a4cda..f683a922 100644
--- a/src/formats.c
+++ b/src/formats.c
@@ -422,7 +422,6 @@ static void UNUSED rewind_pipe(FILE * fp)
   /* To fix this #error, either simply remove the #error line and live without
    * file-type detection with pipes, or add support for your compiler in the
    * lines above.  Test with cat monkey.wav | ./sox --info - */
-  #error FIX NEEDED HERE
   #define NO_REWIND_PIPE
   (void)fp;
 #endif
-- 
2.16.2