utils: flush on successfull av_seek_frame_binary()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -1602,6 +1602,7 @@ int av_seek_frame_binary(AVFormatContext *s, int stream_index, int64_t target_ts
|
||||
if ((ret = avio_seek(s->pb, pos, SEEK_SET)) < 0)
|
||||
return ret;
|
||||
|
||||
ff_read_frame_flush(s);
|
||||
av_update_cur_dts(s, st, ts);
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user