avio: undeprecate av_url_read_fseek/fpause under nicer names

It seems their replacements won't be ready anytime soon.
This commit is contained in:
Anton Khirnov
2011-04-12 09:37:10 +02:00
parent c5e03cebd3
commit ff1ec0c3f8
6 changed files with 36 additions and 35 deletions

View File

@@ -2579,7 +2579,7 @@ int av_read_play(AVFormatContext *s)
if (s->iformat->read_play)
return s->iformat->read_play(s);
if (s->pb)
return ffio_read_pause(s->pb, 0);
return avio_pause(s->pb, 0);
return AVERROR(ENOSYS);
}
@@ -2588,7 +2588,7 @@ int av_read_pause(AVFormatContext *s)
if (s->iformat->read_pause)
return s->iformat->read_pause(s);
if (s->pb)
return ffio_read_pause(s->pb, 1);
return avio_pause(s->pb, 1);
return AVERROR(ENOSYS);
}