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/swfenc.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/swfenc.c')
-rw-r--r-- | libavformat/swfenc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index 296b9c27d9..c898c0ec5f 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -50,7 +50,7 @@ static void put_swf_end_tag(AVFormatContext *s) pos = url_ftell(pb); tag_len = pos - swf->tag_pos - 2; tag = swf->tag; - url_fseek(pb, swf->tag_pos, SEEK_SET); + avio_seek(pb, swf->tag_pos, SEEK_SET); if (tag & TAG_LONG) { tag &= ~TAG_LONG; avio_wl16(pb, (tag << 6) | 0x3f); @@ -59,7 +59,7 @@ static void put_swf_end_tag(AVFormatContext *s) assert(tag_len < 0x3f); avio_wl16(pb, (tag << 6) | tag_len); } - url_fseek(pb, pos, SEEK_SET); + avio_seek(pb, pos, SEEK_SET); } static inline void max_nbits(int *nbits_ptr, int val) @@ -494,13 +494,13 @@ static int swf_write_trailer(AVFormatContext *s) /* patch file size and number of frames if not streamed */ if (!url_is_streamed(s->pb) && video_enc) { file_size = url_ftell(pb); - url_fseek(pb, 4, SEEK_SET); + avio_seek(pb, 4, SEEK_SET); avio_wl32(pb, file_size); - url_fseek(pb, swf->duration_pos, SEEK_SET); + avio_seek(pb, swf->duration_pos, SEEK_SET); avio_wl16(pb, swf->video_frame_number); - url_fseek(pb, swf->vframes_pos, SEEK_SET); + avio_seek(pb, swf->vframes_pos, SEEK_SET); avio_wl16(pb, swf->video_frame_number); - url_fseek(pb, file_size, SEEK_SET); + avio_seek(pb, file_size, SEEK_SET); } return 0; } |