diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-28 14:57:54 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-01 12:12:33 -0500 |
commit | 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060 (patch) | |
tree | a2790d8f7304a735dc8edf52207b823ceb73a7da /libavformat/gxfenc.c | |
parent | 76d8846c4e918749b045ea2ee7399a069af5e4a5 (diff) | |
download | ffmpeg-6b4aa5dac8f41aa452d0ce9a1bede9e59a303060.tar.gz |
avio: avio_ prefix for url_fseek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/gxfenc.c')
-rw-r--r-- | libavformat/gxfenc.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c index 1b12f41e22..66accb3e08 100644 --- a/libavformat/gxfenc.c +++ b/libavformat/gxfenc.c @@ -131,9 +131,9 @@ static int64_t updatePacketSize(AVIOContext *pb, int64_t pos) size = url_ftell(pb) - pos; } curpos = url_ftell(pb); - url_fseek(pb, pos + 6, SEEK_SET); + avio_seek(pb, pos + 6, SEEK_SET); avio_wb32(pb, size); - url_fseek(pb, curpos, SEEK_SET); + avio_seek(pb, curpos, SEEK_SET); return curpos - pos; } @@ -142,9 +142,9 @@ static int64_t updateSize(AVIOContext *pb, int64_t pos) int64_t curpos; curpos = url_ftell(pb); - url_fseek(pb, pos, SEEK_SET); + avio_seek(pb, pos, SEEK_SET); avio_wb16(pb, curpos - pos - 2); - url_fseek(pb, curpos, SEEK_SET); + avio_seek(pb, curpos, SEEK_SET); return curpos - pos; } @@ -581,9 +581,9 @@ static int gxf_write_umf_media_description(AVFormatContext *s) } curpos = url_ftell(pb); - url_fseek(pb, startpos, SEEK_SET); + avio_seek(pb, startpos, SEEK_SET); avio_wl16(pb, curpos - startpos); - url_fseek(pb, curpos, SEEK_SET); + avio_seek(pb, curpos, SEEK_SET); } return url_ftell(pb) - pos; } @@ -776,7 +776,7 @@ static int gxf_write_trailer(AVFormatContext *s) gxf_write_eos_packet(pb); end = url_ftell(pb); - url_fseek(pb, 0, SEEK_SET); + avio_seek(pb, 0, SEEK_SET); /* overwrite map, flt and umf packets with new values */ gxf_write_map_packet(s, 1); gxf_write_flt_packet(s); @@ -784,12 +784,12 @@ static int gxf_write_trailer(AVFormatContext *s) put_flush_packet(pb); /* update duration in all map packets */ for (i = 1; i < gxf->map_offsets_nb; i++) { - url_fseek(pb, gxf->map_offsets[i], SEEK_SET); + avio_seek(pb, gxf->map_offsets[i], SEEK_SET); gxf_write_map_packet(s, 1); put_flush_packet(pb); } - url_fseek(pb, end, SEEK_SET); + avio_seek(pb, end, SEEK_SET); av_freep(&gxf->flt_entries); av_freep(&gxf->map_offsets); |