[mythtv-commits] Ticket #5479: mythtranscode crashes on Ubuntu 8.04 amd64 svn 17644
MythTV
mythtv at cvs.mythtv.org
Sat Aug 22 19:36:38 UTC 2009
#5479: mythtranscode crashes on Ubuntu 8.04 amd64 svn 17644
---------------------------------------+------------------------------------
Reporter: stephen.hocking at gmail.com | Owner: ijr
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: 0.22
Component: mythtv | Version: unknown
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------+------------------------------------
Changes (by stuartm):
* status: new => infoneeded_new
* milestone: unknown => 0.22
Comment:
Can you try the following patch?
Index: mythtv/programs/mythtranscode/mpeg2fix.cpp
===================================================================
--- mythtv/programs/mythtranscode/mpeg2fix.cpp (revision 21428)
+++ mythtv/programs/mythtranscode/mpeg2fix.cpp (working copy)
@@ -1495,9 +1495,12 @@
{
Q3PtrListIterator<MPEG2frame> it (vFrame);
+ if (vFrame.isEmpty())
+ return;
+
it+= start_pos;
- while (!it.atLast() || (it.atFirst() && (*it)->isSequence))
+ while ((*it) && (!it.atLast() || (it.atFirst() &&
(*it)->isSequence)))
{
SetFrameNum((*it)->framePos,
GetFrameNum((*it)) + delta);
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5479#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list