Removed unistd.h include from file.
This commit is contained in:
parent
366c8a8792
commit
fb30f57bec
|
@ -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.
|
@ -36,7 +36,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gwavi.h"
|
||||
|
|
Loading…
Reference in New Issue