diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-28 14:57:55 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-01 12:22:16 -0500 |
commit | e356fc57a2e9887370caec58d8aafeafd1f336dc (patch) | |
tree | f500dfcba3ee9a3b24462d3fa33df8e654695814 /libavformat/avienc.c | |
parent | 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060 (diff) | |
download | ffmpeg-e356fc57a2e9887370caec58d8aafeafd1f336dc.tar.gz |
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 49585b685b..5aab1925be 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -444,9 +444,9 @@ static int avi_write_ix(AVFormatContext *s) /* Updating one entry in the AVI OpenDML master index */ avio_seek(pb, avist->indexes.indx_start - 8, SEEK_SET); ffio_wfourcc(pb, "indx"); /* enabling this entry */ - url_fskip(pb, 8); + avio_seek(pb, 8, SEEK_CUR); avio_wl32(pb, avi->riff_id); /* nEntriesInUse */ - url_fskip(pb, 16*avi->riff_id); + avio_seek(pb, 16*avi->riff_id, SEEK_CUR); avio_wl64(pb, ix); /* qwOffset */ avio_wl32(pb, pos - ix); /* dwSize */ avio_wl32(pb, avist->indexes.entry); /* dwDuration */ @@ -603,7 +603,7 @@ static int avi_write_trailer(AVFormatContext *s) file_size = url_ftell(pb); avio_seek(pb, avi->odml_list - 8, SEEK_SET); ffio_wfourcc(pb, "LIST"); /* Making this AVI OpenDML one */ - url_fskip(pb, 16); + avio_seek(pb, 16, SEEK_CUR); for (n=nb_frames=0;n<s->nb_streams;n++) { AVCodecContext *stream = s->streams[n]->codec; |