projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0694a00
)
Fix seek flags
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 2 Feb 2010 16:01:22 +0000
(16:01 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 2 Feb 2010 16:01:22 +0000
(16:01 +0000)
Originally committed as revision 21603 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
33f91d3
..
9d391d2
100644
(file)
--- a/
ffplay.c
+++ b/
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;