Permalink
Browse files

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 c26c3da commit 4d75ba22c0a81eae249010dc7b3cf394aac13fae
Showing with 0 additions and 1 deletion.
  1. +0 −1 mythtv/programs/mythtranscode/transcode.cpp
@@ -1526,7 +1526,6 @@ int Transcode::TranscodeFile(const QString &inputname,
if (videoBuffer)
{
videoBuffer->stop();
delete videoBuffer;
}
av_free(newFrame);

0 comments on commit 4d75ba2

Please sign in to comment.