# HG changeset patch # User mru # Date 1216343237 0 # Node ID f306b45cab7eb6d19c4bb2239deefdb0fd0c298a # Parent f217917f44331e57af69aeda5abef2e081ebfc9e MPEGTS: Improve probe function When a sync byte is found, check that transport_error_indicator is zero, and adaptation_field_control is valid (non-zero). diff -r f217917f4433 -r f306b45cab7e mpegts.c --- a/mpegts.c Fri Jul 18 00:24:31 2008 +0000 +++ b/mpegts.c Fri Jul 18 01:07:17 2008 +0000 @@ -347,8 +347,8 @@ memset(stat, 0, packet_size*sizeof(int)); - for(x=i=0; i best_score){ best_score= stat[x];