mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Fix seek flags
Originally committed as revision 21603 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0694a009b6
commit
3890dd3a5c
1 changed files with 1 additions and 0 deletions
1
ffplay.c
1
ffplay.c
|
|
@ -985,6 +985,7 @@ static void stream_seek(VideoState *is, int64_t pos, int64_t rel, int seek_by_by
|
|||
if (!is->seek_req) {
|
||||
is->seek_pos = pos;
|
||||
is->seek_rel = rel;
|
||||
is->seek_flags &= ~AVSEEK_FLAG_BYTE;
|
||||
if (seek_by_bytes)
|
||||
is->seek_flags |= AVSEEK_FLAG_BYTE;
|
||||
is->seek_req = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue