From b640dfad6fd5c0ae3a9bfdd9b4bd54e387b0cc51 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 6 Aug 2017 02:52:29 +0200 Subject: Update blind-convert to support unconverted output from ffmpeg and partially converted output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common.h') 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);\ -- cgit v1.2.3-70-g09d2