mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in nextgen_filter(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -21812,3 +21812,5 @@
|
|||||||
'lib/rdweb.[cpp|h]'.
|
'lib/rdweb.[cpp|h]'.
|
||||||
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
|
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Cleaned up compile warnings in caed(8).
|
* Cleaned up compile warnings in caed(8).
|
||||||
|
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Cleaned up compile warnings in nextgen_filter(1).
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ MainObject::MainObject(QObject *parent)
|
|||||||
// Create Temp Directory
|
// Create Temp Directory
|
||||||
//
|
//
|
||||||
strncpy(tempdir,(RDTempDirectory::basePath()+"/nexgen_filterXXXXXX").toUtf8(),
|
strncpy(tempdir,(RDTempDirectory::basePath()+"/nexgen_filterXXXXXX").toUtf8(),
|
||||||
PATH_MAX);
|
PATH_MAX-1);
|
||||||
filter_temp_dir=new QDir(mkdtemp(tempdir));
|
filter_temp_dir=new QDir(mkdtemp(tempdir));
|
||||||
filter_temp_audiofile=filter_temp_dir->canonicalPath()+"/audio.dat";
|
filter_temp_audiofile=filter_temp_dir->canonicalPath()+"/audio.dat";
|
||||||
|
|
||||||
@@ -269,10 +269,10 @@ void MainObject::ProcessArchive(const QString &filename)
|
|||||||
}
|
}
|
||||||
for(uint32_t i=blksize;i<len;i+=blksize) {
|
for(uint32_t i=blksize;i<len;i+=blksize) {
|
||||||
n=read(fd_in,data,blksize);
|
n=read(fd_in,data,blksize);
|
||||||
write(fd_out,data,n);
|
RDCheckExitCode("ProcessArchive() write",write(fd_out,data,n));
|
||||||
}
|
}
|
||||||
n=read(fd_in,data,len%blksize);
|
n=read(fd_in,data,len%blksize);
|
||||||
write(fd_out,data,n);
|
RDCheckExitCode("ProcessArchive() write",write(fd_out,data,n));
|
||||||
close(fd_out);
|
close(fd_out);
|
||||||
}
|
}
|
||||||
close(fd_in);
|
close(fd_in);
|
||||||
|
|||||||
Reference in New Issue
Block a user