[mythtv-commits] mythtv/master commit: 3bb663e97 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Sun May 8 04:48:43 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-05-07T21:45:25-07:00
   Push Date:  2011/05/07 21:48:32 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  3bb663e973d89e123de19188a858f356d8da2c1b
   Changeset:  https://github.com/MythTV/mythtv/commit/3bb663e97

Log:

Remove the compile warning about being off the end of array

To silence this, I converted the array form (data()[AFCOffset()]) to a pointer
based form ( *(data() + AFCOffset()) ).  The same real concerns exist if
AFCOffset() puts us off the end of the actually allocated data array, but it
shuts the compiler up, it is now happy.

Modified:

   mythtv/libs/libmythtv/mpeg/tspacket.h



More information about the mythtv-commits mailing list