The problem is therefore somewhere here:
Code:
...
fprintf(stderr, "[NuEnc]Updating Statistical Information\n");
DoEvents();
int nPercent = (int)((((double)i)/((double)AVSReader.GetNumFrames()))*100.0);
bEncodeDlg->m_bEncodeProgress.SetPos(nPercent);
if ( bFlip && bEncodeDlg->IsWindowVisible() )
{
fprintf(stderr, "[NuEnc]Updating Encoding Window\n");
...
"[NuEnc]Updating Encoding Window" is not displayed, its either crashing when trying to update the progress bar, or at the if statement. SoI'll comment out the "bEncodeDlg->IsWindowVisible()" part and try again. Thanks again freelock7.
Just updated here:
http://www.petercheat.host.sk/libav/files/NuEnc.exe