[mythtv-commits] mythtv/master commit: 0234965c2 by Gavin Hurlbut (Beirdo)
MythTV
noreply at mythtv.org
Wed Feb 23 08:50:52 UTC 2011
Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2011-02-23T00:49:56-08:00
Push Date: 2011/02/23 00:50:42 -0800
Repository: mythtv
Branch: master
New Revision: 0234965c20b1d0fd8243ed395e3e6229e790d672
Changeset: https://github.com/MythTV/mythtv/commit/0234965c2
Log:
Make MPEG2fixup::ProcessVideo return int
I'm not 100% sure what the original author was trying to do here, but this
code is broken. Returning 0, 1, -1 for a bool makes no sense, and comparing
bool < 0 makes even less sense. Rather than trying to unravel what he was
trying to do, let's make this a simple int return so the return codes should
have some effect.
Fixes #9549
Modified:
mythtv/programs/mythtranscode/mpeg2fix.cpp
mythtv/programs/mythtranscode/mpeg2fix.h
More information about the mythtv-commits
mailing list