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/mmf.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/mmf.c')
-rw-r--r-- | libavformat/mmf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c index bcb862c4b5..a68870c1c2 100644 --- a/libavformat/mmf.c +++ b/libavformat/mmf.c @@ -53,9 +53,9 @@ static void end_tag_be(AVIOContext *pb, int64_t start) int64_t pos; pos = url_ftell(pb); - url_fseek(pb, start - 4, SEEK_SET); + avio_seek(pb, start - 4, SEEK_SET); avio_wb32(pb, (uint32_t)(pos - start)); - url_fseek(pb, pos, SEEK_SET); + avio_seek(pb, pos, SEEK_SET); } static int mmf_write_header(AVFormatContext *s) @@ -143,7 +143,7 @@ static int mmf_write_trailer(AVFormatContext *s) size = pos - mmf->awapos; /* Fill Atsq chunk */ - url_fseek(pb, mmf->atsqpos, SEEK_SET); + avio_seek(pb, mmf->atsqpos, SEEK_SET); /* "play wav" */ avio_w8(pb, 0); /* start time */ @@ -158,7 +158,7 @@ static int mmf_write_trailer(AVFormatContext *s) /* "end of sequence" */ avio_write(pb, "\x00\x00\x00\x00", 4); - url_fseek(pb, pos, SEEK_SET); + avio_seek(pb, pos, SEEK_SET); put_flush_packet(pb); } @@ -195,7 +195,7 @@ static int mmf_read_header(AVFormatContext *s, file_size = avio_rb32(pb); /* Skip some unused chunks that may or may not be present */ - for(;; url_fseek(pb, size, SEEK_CUR)) { + for(;; avio_seek(pb, size, SEEK_CUR)) { tag = avio_rl32(pb); size = avio_rb32(pb); if(tag == MKTAG('C','N','T','I')) continue; @@ -226,7 +226,7 @@ static int mmf_read_header(AVFormatContext *s, avio_r8(pb); /* time base g */ /* Skip some unused chunks that may or may not be present */ - for(;; url_fseek(pb, size, SEEK_CUR)) { + for(;; avio_seek(pb, size, SEEK_CUR)) { tag = avio_rl32(pb); size = avio_rb32(pb); if(tag == MKTAG('A','t','s','q')) continue; |