OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a3caca
)
Do not return values above AVPROBE_SCORE_MAX from probe().
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 15 Sep 2009 13:28:14 +0000
(13:28 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 15 Sep 2009 13:28:14 +0000
(13:28 +0000)
Originally committed as revision 19857 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/ncdec.c
patch
|
blob
|
history
diff --git
a/libavformat/ncdec.c
b/libavformat/ncdec.c
index
056381b
..
8e51f84
100644
(file)
--- a/
libavformat/ncdec.c
+++ b/
libavformat/ncdec.c
@@
-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;