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
avformat/utils: replace impossible condition by av_assert0() in ff_gen_search()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer
11 years ago
parent
308429e124
commit
041c6109da
1 changed files
with
1 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
libavformat/utils.c
+ 1
- 4
libavformat/utils.c
View File
@@ -1917,10 +1917,7 @@ int64_t ff_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts,
return pos_max;
}
if (ts_min > ts_max)
return -1;
else if (ts_min == ts_max)
pos_limit = pos_min;
av_assert0(ts_min < ts_max);
no_change = 0;
while (pos_min < pos_limit) {
Write
Preview
Loading…
Cancel
Save