aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-12-19 23:26:18 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-12-19 23:26:18 +0000
commitceeacce68b465fd5bf9a0fd52962c36783cdf0d6 (patch)
treef3a10baa8d5124ee11bb224e9a453655bded78b4 /libavformat/utils.c
parent8293fea57e74fcea276b48b3e22905d2dbb7f68d (diff)
downloadffmpeg-ceeacce68b465fd5bf9a0fd52962c36783cdf0d6.tar.gz
use proper url_is_streamed() API
instead of messing with ByteIOContext internal is_streamed field Originally committed as revision 11276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index e5e04bf745..1f105d4058 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1603,7 +1603,7 @@ static void av_estimate_timings(AVFormatContext *ic, offset_t old_offset)
if ((!strcmp(ic->iformat->name, "mpeg") ||
!strcmp(ic->iformat->name, "mpegts")) &&
- file_size && !ic->pb->is_streamed) {
+ file_size && !url_is_streamed(ic->pb)) {
/* get accurate estimate from the PTSes */
av_estimate_timings_from_pts(ic, old_offset);
} else if (av_has_duration(ic)) {