Fix use of potentially uninitialized values

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f083c21276)
r14.0.x
Slávek Banko 8 years ago
parent f060539d8f
commit bad078e7b6

@ -74,7 +74,7 @@ void k9NewTitle::bAddClicked() {
m_k9Import->getRoot()->listView()->setColumnWidthMode(0,TQListView::Maximum);
item->setText(1,t.addSecs(fileInfo.getDuration()).toString("hh:mm:ss"));
double increment;
double increment = 5*60*60;
int maxCh;
if (rbLength->isOn()) {
TQTime t;

@ -1042,7 +1042,7 @@ TQString &k9DVD::getFormat() {
}
int k9DVD::getVampsID(int type) {
int abase;
int abase = 0;
if (type >= 0x80 && type <= 0x87) {
// AC3 audio
abase = 0x80;

@ -760,7 +760,7 @@ uint32_t k9DVDBackup::copyVobu(k9DVDFile *_fileHandle,uint32_t _startSector,k9V
m_cellCopyList->addInbytes( DVD_VIDEO_LB_LEN);
else
m_cellCopyList->addFrcinbytes(DVD_VIDEO_LB_LEN);
uint32_t end;
uint32_t end = 0;
if (badNavPack) {
setDummyPack(buf);

@ -239,9 +239,8 @@ void k9play::play() {
m_startSector=status.sector;
}
KTempFile *bufferFile;
KTempFile *bufferFile = 0;
if (m_useCache) {
bufferFile=new KTempFile(locateLocal("tmp", "k9copy/k9p"), "");
m_output=bufferFile->file();

Loading…
Cancel
Save