mcagent.exe 0.1.2 bug?

Bug report and feature request
Post Reply
hynek
Beginner
Beginner
Posts: 2
Joined: Tue Apr 07, 2015 5:50 am

mcagent.exe 0.1.2 bug?

Post by hynek » Tue Apr 07, 2015 6:21 am

Hello, i found in mcagent.exe version 0.1.2 which was distributed with mediacoder 0.8.33.5685 some problem. In source code in module mcagent.c on line 163 is
condition

Code: Select all

if (hdr.cmdLine[0] != '/') {
	sprintf(buffer, "/usr/bin/%s", hdr.cmdLine);
} else {
	strcpy(buffer, hdr.cmdLine);
}
I must change the condition to

Code: Select all

if (hdr.cmdLine[0] == '/')
        sprintf(buffer, "/usr/bin/%s", hdr.cmdLine);
} else {
	strcpy(buffer, hdr.cmdLine);
}
Without this wrong command line was coppied to the buffer. After my change media coder agent starts working. My OS where agent is running is WinXP 32bit. MediaCoder is running on Win7 64bit. Please comment if it is bug or i have something wrong configured.

Thanks Hynek.

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: mcagent.exe 0.1.2 bug?

Post by stanley » Wed Apr 08, 2015 8:56 pm

That is intended for Linux. Will fix that.
When things work together, things work.

Post Reply