My modified versions of avpriv_find_start_code were accepted into MythTV, which caused clang-tidy to raise a bugprone-branch-clone warning. The for loop's if statement has therefore been modified to not duplicate the branch payload. There are no other changes from v3. Regards, Scott Theisen