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:
b93e934
)
aviobuf: Remove a senseless ifdef in avio_seek
author
Martin Storsjö
<martin@martin.st>
Wed, 17 Oct 2012 20:00:54 +0000
(23:00 +0300)
committer
Martin Storsjö
<martin@martin.st>
Wed, 17 Oct 2012 22:44:05 +0000
(
01:44
+0300)
This seemed to assume that one never used writing avio unless
muxers or networking was enabled.
This ifdef is a remnant since
8fa641f8
.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/aviobuf.c
patch
|
blob
|
history
diff --git
a/libavformat/aviobuf.c
b/libavformat/aviobuf.c
index
da836c6
..
15d132d
100644
(file)
--- a/
libavformat/aviobuf.c
+++ b/
libavformat/aviobuf.c
@@
-215,12
+215,10
@@
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
} else {
int64_t res;
-#if CONFIG_MUXERS || CONFIG_NETWORK
if (s->write_flag) {
flush_buffer(s);
s->must_flush = 1;
}
-#endif /* CONFIG_MUXERS || CONFIG_NETWORK */
if (!s->seek)
return AVERROR(EPIPE);
if ((res = s->seek(s->opaque, offset, SEEK_SET)) < 0)