[mythtv-commits] mythtv/master commit: a3ec3d2cb by Stuart Morgan (stuartm)

MythTV noreply at mythtv.org
Sat Aug 20 14:05:42 UTC 2011


      Author:  Stuart Morgan <smorgan at mythtv.org>
 Change Date:  2011-08-20T07:05:28-07:00
   Push Date:  2011/08/20 07:05:34 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  a3ec3d2cb80070b13fa4f8929ce076b1d36b8792
   Changeset:  https://github.com/MythTV/mythtv/commit/a3ec3d2cb

Log:

Simplify a for loop for the sake of readability

This way it can be understood at a glance, previously it was a bit
harder to understand what was going on.

This would need to be done anyway when we swap out MythDeque
with QList in the future. QList wouldn't return a null pointer if we
called deque on an empty list, it would crash.

Modified:

   mythtv/libs/libmythtv/videobuffers.cpp



More information about the mythtv-commits mailing list