ffmpeg | branch: master | Gyan Doshi <ffm...@gyani.pro> | Sat Aug 31 20:03:58 2019 +0530| [fa697aa92f5dfebda11d53db971ec4ac6c517008] | committer: Gyan Doshi
ffmpeg: switch to avformat_seek_file for stream_loop Fixes stream_loop with very short files where seeking is generic index search > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fa697aa92f5dfebda11d53db971ec4ac6c517008 --- fftools/ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 01f04103cf..b6ecb89893 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -4195,7 +4195,7 @@ static int seek_to_start(InputFile *ifile, AVFormatContext *is) int i, ret, has_audio = 0; int64_t duration = 0; - ret = av_seek_frame(is, -1, is->start_time, 0); + ret = avformat_seek_file(is, -1, INT64_MIN, is->start_time, is->start_time, 0); if (ret < 0) return ret; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".