Merge commit 'c0c2b96c136ec2cbfd808eefc26de399f447d62f'
* commit 'c0c2b96c136ec2cbfd808eefc26de399f447d62f': sctp: Add a note on why sctp_recvmsg and sctp_sendmsg have ff_-prefixes avs: Increase magic value score above file extension score Conflicts: libavformat/avs.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -50,7 +50,9 @@ static int avs_probe(AVProbeData * p)
|
||||
|
||||
d = p->buf;
|
||||
if (d[0] == 'w' && d[1] == 'W' && d[2] == 0x10 && d[3] == 0)
|
||||
return AVPROBE_SCORE_EXTENSION+5;
|
||||
/* Ensure the buffer probe scores higher than the extension probe.
|
||||
* This avoids problems with misdetection as AviSynth scripts. */
|
||||
return AVPROBE_SCORE_EXTENSION + 5;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user