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 23c0f74 commit e60e3d232cb9db4b435fd396d8fb8b094eae5b53
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 e60e3d2

Please sign in to comment.