Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #9716. for \(int i... shadowed the int i we had declared earlie…

…r for that loop so we could check whether the for loop exited prematurely.
  • Loading branch information...
commit 8a469fc0bc284b137c244fe0c32efb8a6c6078cc 1 parent 7a1fce0
daniel-kristjansson daniel-kristjansson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mythtv/libs/libmythtv/cc708decoder.cpp
2  mythtv/libs/libmythtv/cc708decoder.cpp
View
@@ -194,7 +194,7 @@ static void parse_cc_service_stream(CC708Reader* cc, uint service_num)
cc->delayed, blk_start, blk_size);
*/
- for (int i = (cc->delayed[service_num]) ? blk_size : blk_start;
+ for (i = (cc->delayed[service_num]) ? blk_size : blk_start;
i < blk_size; )
{
const int old_i = i;
Please sign in to comment.
Something went wrong with that request. Please try again.