diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index a10f5dca92..5067f779a7 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -347,8 +347,8 @@ static int analyze(const uint8_t *buf, int size, int packet_size, int *index){ memset(stat, 0, packet_size*sizeof(int)); - for(x=i=0; i best_score){ best_score= stat[x];