From 7ea396381743c300f8450baa3054b62b1f3e68d0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 15 Nov 2011 04:15:34 +0100 Subject: [PATCH] mpegts: Completely ignore H222 spec and consider reserved adaption fields to be perfectly fine mpeg TS. Fixes Ticket580 Signed-off-by: Michael Niedermayer --- libavformat/mpegts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 118f5325c7..d3f8a8a783 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -399,7 +399,7 @@ 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];