Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix crash at the end of mythtranscode
VideoDecodeBuffer inherit from QRunnable which has an autodelete flag set by default, so stopping the thread will automatically delete it.
  • Loading branch information
jyavenard committed Mar 13, 2013
1 parent 23c0f74 commit e60e3d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mythtv/programs/mythtranscode/transcode.cpp
Expand Up @@ -1526,7 +1526,6 @@ int Transcode::TranscodeFile(const QString &inputname,
if (videoBuffer)
{
videoBuffer->stop();
delete videoBuffer;
}

av_free(newFrame);
Expand Down

0 comments on commit e60e3d2

Please sign in to comment.