summaryrefslogtreecommitdiff
path: root/libavformat/gxfenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/gxfenc.c')
-rw-r--r--libavformat/gxfenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c
index ea9755fcd2..44b5020db0 100644
--- a/libavformat/gxfenc.c
+++ b/libavformat/gxfenc.c
@@ -310,7 +310,7 @@ static int gxf_write_material_data_section(AVFormatContext *s)
/* estimated size */
avio_w8(pb, MAT_SIZE);
avio_w8(pb, 4);
- avio_wb32(pb, url_fsize(pb) / 1024);
+ avio_wb32(pb, avio_size(pb) / 1024);
return updateSize(pb, pos);
}