avformat/mpegts: Use differential score for analyze()
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 16 Aug 2014 21:07:28 +0000 (23:07 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 16 Aug 2014 21:59:26 +0000 (23:59 +0200)
commit4f187f0af13bf4ff4d4b9c8081ce0ef73ad91345
treedf414c2c382d093230bef07bd232d10b17db6025
parent10c2d22ba19565ef65f6fd9cf6c8a931339470d4
avformat/mpegts: Use differential score for analyze()

This avoids high scores in random data that has a high 0x47 frequency

Fixes Ticket3844

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 427bcdf035f5decca182651acfe067d685b3feb5)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c