summaryrefslogtreecommitdiffstats
path: root/libavformat/vc1testenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/vc1testenc.c')
-rw-r--r--libavformat/vc1testenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vc1testenc.c b/libavformat/vc1testenc.c
index 60fb894..cf95d1d 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 (s->pb->seekable) {
+ if (s->pb->seekable & AVIO_SEEKABLE_NORMAL) {
avio_seek(pb, 0, SEEK_SET);
avio_wl24(pb, ctx->frames);
avio_flush(pb);
OpenPOWER on IntegriCloud