Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit941ba22

Browse files
committed
remove useless include
1 parent66eb038 commit941ba22

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

‎main.cpp‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,10 @@
1212
#include<unistd.h>
1313
#include<string.h>
1414
#include<errno.h>
15-
#include<stdlib.h>
1615
#include<signal.h>
1716

1817
#include"logger.h"
19-
20-
#include"V4l2Device.h"
2118
#include"V4l2Capture.h"
22-
#include"V4l2Output.h"
2319

2420
int stop=0;
2521

@@ -37,7 +33,7 @@ void sighandler(int)
3733
** -------------------------------------------------------------------------*/
3834
intmain(int argc,char* argv[])
3935
{
40-
int verbose=0;
36+
int verbose =0;
4137
constchar *in_devname ="/dev/video0";
4238
V4l2IoType ioTypeIn = IOTYPE_MMAP;
4339
int format =0;
@@ -52,7 +48,7 @@ int main(int argc, char* argv[])
5248
{
5349
case'v':verbose =1;if (optarg && *optarg=='v') verbose++;break;
5450
case'r':ioTypeIn = IOTYPE_READWRITE ;break;
55-
case'G':sscanf(optarg,"%dx%dx%d", &width, &height, &fps) ;break;
51+
case'G':sscanf(optarg,"%dx%dx%d", &width, &height, &fps) ;break;
5652
case'f':format =V4l2Device::fourcc(optarg) ;break;
5753
case'h':
5854
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp