Skip to content

Commit

Permalink
Version 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aramg committed Dec 20, 2023
1 parent bfb9ddb commit add5733
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


CC ?= gcc
CFLAGS ?= -Wall -O2
CFLAGS ?=
APPINDICATOR ?= appindicator3-0.1

GTK = `pkg-config --libs --cflags gtk+-3.0` `pkg-config --libs x11`
Expand Down Expand Up @@ -44,6 +44,8 @@ package:
@echo "usage: RELEASE=2. make -B package"

else
CFLAGS += -Wall -O2

JPEG = -I/opt/libjpeg-turbo/include
USBMUXD = -I/opt/libimobiledevice/include
LIBAV = -L/opt/ffmpeg4/lib -lswscale -lavutil
Expand Down
4 changes: 4 additions & 0 deletions src/av.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ void *DecodeThreadProc(__attribute__((__unused__)) void *args) {
return 0;
}

const char* codec_names[] = {
"jpg", "avc",
};

void *VideoThreadProc(void *args) {
char buf[32];
SOCKET videoSocket = (SOCKET_PTR) args;
Expand Down
4 changes: 2 additions & 2 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#ifndef _COMMON_H_
#define _COMMON_H_

#define APP_VER_INT 211
#define APP_VER_STR "2.1.1"
#define APP_VER_INT 212
#define APP_VER_STR "2.1.2"

#define MSG_ERROR(str) ShowError("Error",str)
#define MSG_LASTERROR(str) ShowError(str,strerror(errno))
Expand Down
9 changes: 0 additions & 9 deletions src/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ enum control_codes {
CB_V_FLIP,
};

enum {
CODEC_JPG = 0,
CODEC_AVC,
};

static const char* codec_names[] = {
"jpg", "avc",
};

struct settings {
char ip[16];
int port;
Expand Down

0 comments on commit add5733

Please sign in to comment.