summaryrefslogtreecommitdiff
path: root/libavformat/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/tty.c')
-rw-r--r--libavformat/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/tty.c b/libavformat/tty.c
index 767006b5a3..74750584c1 100644
--- a/libavformat/tty.c
+++ b/libavformat/tty.c
@@ -46,7 +46,7 @@ static int efi_read(AVFormatContext *avctx, uint64_t start_pos)
char buf[37];
int len;
- url_fseek(pb, start_pos, SEEK_SET);
+ avio_seek(pb, start_pos, SEEK_SET);
if (avio_r8(pb) != 0x1A)
return -1;
@@ -95,7 +95,7 @@ static int read_header(AVFormatContext *avctx,
if (ff_sauce_read(avctx, &s->fsize, 0, 0) < 0)
efi_read(avctx, s->fsize - 51);
- url_fseek(avctx->pb, 0, SEEK_SET);
+ avio_seek(avctx->pb, 0, SEEK_SET);
}
return 0;