aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-08-06 02:52:29 +0200
committerMattias Andrée <maandree@kth.se>2017-08-06 02:52:29 +0200
commitb640dfad6fd5c0ae3a9bfdd9b4bd54e387b0cc51 (patch)
tree8d1614209eeb045d071349cc2808958647509110 /src/common.h
parentUpdate todo (diff)
downloadblind-b640dfad6fd5c0ae3a9bfdd9b4bd54e387b0cc51.tar.gz
blind-b640dfad6fd5c0ae3a9bfdd9b4bd54e387b0cc51.tar.bz2
blind-b640dfad6fd5c0ae3a9bfdd9b4bd54e387b0cc51.tar.xz
Update blind-convert to support unconverted output from ffmpeg and partially converted output
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index 3972389..731094d 100644
--- a/src/common.h
+++ b/src/common.h
@@ -66,7 +66,7 @@
#endif
#if !defined(PIPE_BUF)
-# define PIPE_BUF BUFSIZ
+# define PIPE_BUF 512
#endif
#ifndef DONT_INCLUDE_FLOAT
@@ -113,7 +113,7 @@
#define SELECT_PROCESS_FUNCTION(stream)\
do {\
- if ((stream)->endian != HOST_ENDIAN)\
+ if ((stream)->endian != HOST)\
eprintf("pixel format %s is not supported, try xyza\n", (stream)->pixfmt);\
SELECT_PROCESS_FUNCTION_FLOAT(stream);\
SELECT_PROCESS_FUNCTION_DOUBLE(stream);\