|
@@ -2042,7 +2042,7 @@ int av_read_play(AVFormatContext *s) |
|
|
{ |
|
|
{ |
|
|
if (s->iformat->read_play) |
|
|
if (s->iformat->read_play) |
|
|
return s->iformat->read_play(s); |
|
|
return s->iformat->read_play(s); |
|
|
if (s->pb && s->pb->read_pause) |
|
|
|
|
|
|
|
|
if (s->pb) |
|
|
return av_url_read_fpause(s->pb, 0); |
|
|
return av_url_read_fpause(s->pb, 0); |
|
|
return AVERROR(ENOSYS); |
|
|
return AVERROR(ENOSYS); |
|
|
} |
|
|
} |
|
@@ -2051,7 +2051,7 @@ int av_read_pause(AVFormatContext *s) |
|
|
{ |
|
|
{ |
|
|
if (s->iformat->read_pause) |
|
|
if (s->iformat->read_pause) |
|
|
return s->iformat->read_pause(s); |
|
|
return s->iformat->read_pause(s); |
|
|
if (s->pb && s->pb->read_pause) |
|
|
|
|
|
|
|
|
if (s->pb) |
|
|
return av_url_read_fpause(s->pb, 1); |
|
|
return av_url_read_fpause(s->pb, 1); |
|
|
return AVERROR(ENOSYS); |
|
|
return AVERROR(ENOSYS); |
|
|
} |
|
|
} |
|
|