OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dc7761
)
avformat/aviobuf/ffio_init_context: set seekable automatically
author
Hendrik Schreiber
<hs@tagtraum.com>
Tue, 23 Jul 2013 09:25:34 +0000
(11:25 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 23 Jul 2013 15:19:32 +0000
(17:19 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/aviobuf.c
patch
|
blob
|
history
diff --git
a/libavformat/aviobuf.c
b/libavformat/aviobuf.c
index
93a187b
..
6efc0cf
100644
(file)
--- a/
libavformat/aviobuf.c
+++ b/
libavformat/aviobuf.c
@@
-92,7
+92,7
@@
int ffio_init_context(AVIOContext *s,
s->must_flush = 0;
s->eof_reached = 0;
s->error = 0;
- s->seekable =
AVIO_SEEKABLE_NORMAL
;
+ s->seekable =
seek ? AVIO_SEEKABLE_NORMAL : 0
;
s->max_packet_size = 0;
s->update_checksum = NULL;