File tree Expand file tree Collapse file tree 4 files changed +9
-12
lines changed
Expand file tree Collapse file tree 4 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 1313
1414
1515CC ?= gcc
16- CFLAGS ?= -Wall -O2
16+ CFLAGS ?=
1717APPINDICATOR ?= appindicator3-0.1
1818
1919GTK = ` pkg-config --libs --cflags gtk+-3.0 ` ` pkg-config --libs x11 `
@@ -44,6 +44,8 @@ package:
4444 @echo " usage: RELEASE=2. make -B package"
4545
4646else
47+ CFLAGS += -Wall -O2
48+
4749JPEG = -I/opt/libjpeg-turbo/include
4850USBMUXD = -I/opt/libimobiledevice/include
4951LIBAV = -L/opt/ffmpeg4/lib -lswscale -lavutil
Original file line number Diff line number Diff line change @@ -110,6 +110,10 @@ void *DecodeThreadProc(__attribute__((__unused__)) void *args) {
110110 return 0 ;
111111}
112112
113+ const char * codec_names [] = {
114+ "jpg" , "avc" ,
115+ };
116+
113117void * VideoThreadProc (void * args ) {
114118 char buf [32 ];
115119 SOCKET videoSocket = (SOCKET_PTR ) args ;
Original file line number Diff line number Diff line change 99#ifndef _COMMON_H_
1010#define _COMMON_H_
1111
12- #define APP_VER_INT 211
13- #define APP_VER_STR "2.1.1 "
12+ #define APP_VER_INT 212
13+ #define APP_VER_STR "2.1.2 "
1414
1515#define MSG_ERROR (str ) ShowError("Error",str)
1616#define MSG_LASTERROR (str ) ShowError(str,strerror(errno))
Original file line number Diff line number Diff line change @@ -36,15 +36,6 @@ enum control_codes {
3636 CB_V_FLIP ,
3737};
3838
39- enum {
40- CODEC_JPG = 0 ,
41- CODEC_AVC ,
42- };
43-
44- static const char * codec_names [] = {
45- "jpg" , "avc" ,
46- };
47-
4839struct settings {
4940 char ip [16 ];
5041 int port ;
You can’t perform that action at this time.
0 commit comments