Mailing List Archive

mythtv/master commit: 3bb663e97 by Gavin Hurlbut (Beirdo)
Author: Gavin Hurlbut <ghurlbut@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

_______________________________________________
mythtv-firehose mailing list
mythtv-firehose@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-firehose