mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 10:00:08 +01:00
avio: make av_url_read_fseek/fpause internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
committed by
Ronald S. Bultje
parent
f44d6445b7
commit
933e90a69a
@@ -2553,7 +2553,7 @@ int av_read_play(AVFormatContext *s)
|
||||
if (s->iformat->read_play)
|
||||
return s->iformat->read_play(s);
|
||||
if (s->pb)
|
||||
return av_url_read_fpause(s->pb, 0);
|
||||
return ffio_read_pause(s->pb, 0);
|
||||
return AVERROR(ENOSYS);
|
||||
}
|
||||
|
||||
@@ -2562,7 +2562,7 @@ int av_read_pause(AVFormatContext *s)
|
||||
if (s->iformat->read_pause)
|
||||
return s->iformat->read_pause(s);
|
||||
if (s->pb)
|
||||
return av_url_read_fpause(s->pb, 1);
|
||||
return ffio_read_pause(s->pb, 1);
|
||||
return AVERROR(ENOSYS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user