Removed unistd.h include from file.

This commit is contained in:
mjbudd77 2021-04-29 04:51:05 -04:00
parent 366c8a8792
commit fb30f57bec
3 changed files with 16 additions and 1 deletions

View File

@ -10,6 +10,22 @@
static gwavi_t *gwavi = NULL;
static bool recordEnable = false;
//**************************************************************************************
static void convertRgb_32_to_24( const char *src, char *dest, int nPix )
{
int i=0, j=0, s;
s = nPix * 4;
while ( i < s )
{
dest[j] = src[i]; i++; j++;
dest[j] = src[i]; i++; j++;
dest[j] = src[i]; i++; j++;
i++;
}
}
//**************************************************************************************
int aviRecordOpenFile( const char *filepath, int format, int width, int height )
{
if ( gwavi != NULL )

Binary file not shown.

View File

@ -36,7 +36,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "gwavi.h"