Commit 7ca23cc0 authored by michael's avatar michael

Do not return values above AVPROBE_SCORE_MAX from probe().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19857 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6b1abb87
......@@ -35,7 +35,7 @@ static int nc_probe(AVProbeData *probe_packet)
size = AV_RL16(probe_packet->buf + 5);
if (size + 20 > probe_packet->buf_size)
return 3*AVPROBE_SCORE_MAX/2;
return AVPROBE_SCORE_MAX/4;
if (AV_RB32(probe_packet->buf+16+size) == NC_VIDEO_FLAG)
return AVPROBE_SCORE_MAX;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment