This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
improve probe and give it the max score
Originally committed as revision 7667 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
19 years ago
parent
8e606cc88c
commit
742482290f
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
libavformat/flvdec.c
+ 2
- 2
libavformat/flvdec.c
View File
@@ -34,8 +34,8 @@ static int flv_probe(AVProbeData *p)
if (p->buf_size < 6)
return 0;
d = p->buf;
if (d[0] == 'F' && d[1] == 'L' && d[2] == 'V') {
return
50
;
if (d[0] == 'F' && d[1] == 'L' && d[2] == 'V'
&& d[3] < 5 && d[5]==0
) {
return
AVPROBE_SCORE_MAX
;
}
return 0;
}
Write
Preview
Loading…
Cancel
Save