Permalink
Browse files

Use prefix ++ for iterator increment instead of postfix.

  • Loading branch information...
daniel-kristjansson committed Dec 4, 2012
1 parent 34c9eea commit 4b641bf2f1c012645b35b730e0fcccf2edef0333
Showing with 3 additions and 3 deletions.
  1. +3 −3 mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp
@@ -2215,10 +2215,10 @@ void NuppelVideoRecorder::WriteSeekTable(void)
char *seekbuf = new char[frameheader.packetlength];
int offset = 0;
vector<struct seektable_entry>::iterator i = seektable->begin();
for (; i != seektable->end(); i++)
vector<struct seektable_entry>::iterator it = seektable->begin();
for (; it != seektable->end(); ++it)
{
memcpy(seekbuf + offset, (const void *)&(*i),
memcpy(seekbuf + offset, (const void *)&(*it),
sizeof(struct seektable_entry));
offset += sizeof(struct seektable_entry);
}

0 comments on commit 4b641bf

Please sign in to comment.