diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-02-02 16:01:22 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-02-02 16:01:22 +0000 |
commit | 3890dd3a5c0e375ee7ea23be39b363aa2f361c89 (patch) | |
tree | 6c361d0375421ee36b358fa70af680bda4af5a82 /ffplay.c | |
parent | 0694a009b65540e95eb1ecfa8f5a8a74e36bef1f (diff) | |
download | ffmpeg-3890dd3a5c0e375ee7ea23be39b363aa2f361c89.tar.gz |
Fix seek flags
Originally committed as revision 21603 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |