diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-05 23:06:46 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 00:46:40 +0400 |
commit | 8978fedaeefdff50ed4deefbfe822ad07f19f616 (patch) | |
tree | ffa8b7680649f418f83b1e833e0221749fbb6bdd /libavformat/au.c | |
parent | 79997def65fd2313b48a5f3c3a884c6149ae9b5d (diff) |
avio: introduce an AVIOContext.seekable field
Use it instead of url_is_streamed and AVIOContext.is_streamed.
Diffstat (limited to 'libavformat/au.c')
-rw-r--r-- | libavformat/au.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/au.c b/libavformat/au.c index f70f47ab39..6cffe1c1ce 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -91,7 +91,7 @@ static int au_write_trailer(AVFormatContext *s) AVIOContext *pb = s->pb; int64_t file_size; - if (!url_is_streamed(s->pb)) { + if (s->pb->seekable) { /* update file size */ file_size = avio_tell(pb); |