diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-12-20 00:25:18 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-12-20 00:25:18 +0000 |
commit | fd2982a0a01942091b2f08e17486ff4562f675a6 (patch) | |
tree | c5627d5cf2603e1e890e9a38c2ff916ffc8b983a /libavformat/utils.c | |
parent | 17e45b377ca2d2b400424b82db01c22567f09780 (diff) | |
download | ffmpeg-fd2982a0a01942091b2f08e17486ff4562f675a6.tar.gz |
remove double check of pb->read_seek
Originally committed as revision 11278 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 1f105d4058..59dc8dbacc 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2042,7 +2042,7 @@ int av_read_play(AVFormatContext *s) { if (s->iformat->read_play) 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 AVERROR(ENOSYS); } @@ -2051,7 +2051,7 @@ int av_read_pause(AVFormatContext *s) { if (s->iformat->read_pause) 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 AVERROR(ENOSYS); } |