diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-21 22:26:13 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-21 22:26:13 +0200 |
commit | f73f68b8941176e61b821055af83d3be48adc711 (patch) | |
tree | 98a1ab27a5582fc954c2072e97fafb50130357c6 /libavformat | |
parent | db1347f66ed009ec5a80749d853e1a5768225d26 (diff) | |
download | ffmpeg-f73f68b8941176e61b821055af83d3be48adc711.tar.gz |
utils: flush on successfull av_seek_frame_binary()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index b931f77bb5..2ae0750b13 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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; |