Skip to content

Commit

Permalink
Fix crash at the end of mythtranscode
Browse files Browse the repository at this point in the history
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 c26c3da commit 4d75ba2
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 4d75ba2

Please sign in to comment.