diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-06 21:06:03 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-10 07:43:24 +0200 |
commit | 0b0dfb765da6cf796d3798e808da741cc697c4fa (patch) | |
tree | bd2e8b0ba559ca6a2d95da10ecce66870c8c860a /libavformat/utils.c | |
parent | f104352b918c8ec8f74c0e974cd11e366275e8e9 (diff) | |
download | ffmpeg-0b0dfb765da6cf796d3798e808da741cc697c4fa.tar.gz |
avformat/utils: Move av_read_(play|pause) to demux_utils.c
These functions are for demuxers only.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 5249607745..50e8298241 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -458,24 +458,6 @@ int av_find_best_stream(AVFormatContext *ic, enum AVMediaType type, /*******************************************************/ -int av_read_play(AVFormatContext *s) -{ - if (s->iformat->read_play) - return s->iformat->read_play(s); - if (s->pb) - return avio_pause(s->pb, 0); - return AVERROR(ENOSYS); -} - -int av_read_pause(AVFormatContext *s) -{ - if (s->iformat->read_pause) - return s->iformat->read_pause(s); - if (s->pb) - return avio_pause(s->pb, 1); - return AVERROR(ENOSYS); -} - int ff_stream_side_data_copy(AVStream *dst, const AVStream *src) { /* Free existing side data*/ |