Skip to content

Commit

Permalink
Fixed indentation and aligment
Browse files Browse the repository at this point in the history
  • Loading branch information
Kixunil committed Aug 23, 2015
1 parent 5696015 commit caca16d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions host_applications/linux/apps/raspicam/RaspiVid.c
Expand Up @@ -291,7 +291,7 @@ static COMMAND_LIST cmdline_commands[] =
{ CommandSettings, "-settings", "set","Retrieve camera settings and write to stdout", 0},
{ CommandSensorMode, "-mode", "md", "Force sensor mode. 0=auto. See docs for other modes available", 1},
{ CommandIntraRefreshType,"-irefresh", "if", "Set intra refresh type", 1},
{ CommandFlush, "-flush", "f", "Flush buffers in order to decrease latency", 0 },
{ CommandFlush, "-flush", "f", "Flush buffers in order to decrease latency", 0 },
};

static int cmdline_commands_size = sizeof(cmdline_commands) / sizeof(cmdline_commands[0]);
Expand Down Expand Up @@ -903,7 +903,7 @@ static FILE *open_filename(RASPIVID_STATE *pState)
colon = strchr(filename, ':');
int sfd = socket(AF_INET, socktype, 0);
if(sfd < 0)
{
{
perror("socket");
}

Expand All @@ -919,7 +919,7 @@ static FILE *open_filename(RASPIVID_STATE *pState)
inet_aton(filename, &saddr.sin_addr);

if(connect(sfd, (struct sockaddr *)&saddr, sizeof(struct sockaddr_in)) < 0)
{
{
perror("connect");
}

Expand Down

0 comments on commit caca16d

Please sign in to comment.