OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0535f91
)
Check offset in flv_probe()
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 15 Sep 2009 14:56:09 +0000
(14:56 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 15 Sep 2009 14:56:09 +0000
(14:56 +0000)
Originally committed as revision 19858 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/flvdec.c
patch
|
blob
|
history
diff --git
a/libavformat/flvdec.c
b/libavformat/flvdec.c
index
c982708
..
b3b3cc1
100644
(file)
--- a/
libavformat/flvdec.c
+++ b/
libavformat/flvdec.c
@@
-39,7
+39,7
@@
static int flv_probe(AVProbeData *p)
const uint8_t *d;
d = p->buf;
- if (d[0] == 'F' && d[1] == 'L' && d[2] == 'V' && d[3] < 5 && d[5]==0) {
+ if (d[0] == 'F' && d[1] == 'L' && d[2] == 'V' && d[3] < 5 && d[5]==0
&& AV_RB32(d+5)>8
) {
return AVPROBE_SCORE_MAX;
}
return 0;