diff ffm.c @ 764:cdb845a57ae4 libavformat

drop most url_fileno() calls (allows to use ByteIOContext directly in caller apps instead of URLProtocol)
author aurel
date Thu, 19 May 2005 00:06:27 +0000
parents dcb459ca11eb
children c5077fdab490
line wrap: on
line diff
--- a/ffm.c	Tue May 17 22:47:34 2005 +0000
+++ b/ffm.c	Thu May 19 00:06:27 2005 +0000
@@ -462,7 +462,7 @@
     ffm->write_index = get_be64(pb);
     /* get also filesize */
     if (!url_is_streamed(pb)) {
-        ffm->file_size = url_filesize(url_fileno(pb));
+        ffm->file_size = url_fsize(pb);
         adjust_write_index(s);
     } else {
         ffm->file_size = (uint64_t_C(1) << 63) - 1;