Skip to content

Commit

Permalink
remove unused array
Browse files Browse the repository at this point in the history
  • Loading branch information
virinext committed Feb 11, 2016
1 parent 5b210b0 commit 1112f86
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions utils/hevc_es_browser_gui/MainWindow.cpp
Expand Up @@ -100,19 +100,16 @@ void MainWindow::process(const QString &fileName)

pprogressBar -> show();

QByteArray fullData;
while(!file.atEnd())
{
QByteArray arr = file.read(4 * (1 << 20));
std::size_t parsed = pparser -> process((const uint8_t *)arr.data(), arr.size(), position);
position += parsed;
if(file.atEnd())
{
fullData += arr;
break;
}

fullData += arr.left(parsed);
file.seek(position);
pprogressBar -> setValue(position);
QCoreApplication::processEvents();
Expand Down

0 comments on commit 1112f86

Please sign in to comment.