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
ff_gen_search: make step 64it to prevent hypothetical integer overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer
12 years ago
parent
e358044922
commit
9d73e30253
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/utils.c
+ 1
- 1
libavformat/utils.c
View File
@@ -1769,7 +1769,7 @@ int64_t ff_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts,
}
if(ts_max == AV_NOPTS_VALUE){
int step= 1024;
int
64_t
step= 1024;
filesize = avio_size(s->pb);
pos_max = filesize - 1;
do{
Write
Preview
Loading…
Cancel
Save