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/vc1testenc.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/vc1testenc.c')
-rw-r--r-- | libavformat/vc1testenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vc1testenc.c b/libavformat/vc1testenc.c index bf6144849e..2b0728d248 100644 --- a/libavformat/vc1testenc.c +++ b/libavformat/vc1testenc.c @@ -73,7 +73,7 @@ static int vc1test_write_trailer(AVFormatContext *s) RCVContext *ctx = s->priv_data; AVIOContext *pb = s->pb; - if (!url_is_streamed(s->pb)) { + if (s->pb->seekable) { avio_seek(pb, 0, SEEK_SET); avio_wl24(pb, ctx->frames); avio_flush(pb); |