aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/file.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-06-24 11:27:12 +0000
committerMåns Rullgård <mans@mansr.com>2007-06-24 11:27:12 +0000
commitf7d78f3654f8181fb889000dfc2b9a91ca85e418 (patch)
tree2dd03806da8128c531f95b35a28cfb245e405ff0 /libavformat/file.c
parent3565e10b44cc978b75a5179191bc4a3c946a2e4a (diff)
downloadffmpeg-f7d78f3654f8181fb889000dfc2b9a91ca85e418.tar.gz
replace the uses of old string functions that Reimar missed
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/file.c')
-rw-r--r--libavformat/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index 3caf80a61b..7acf446133 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "avformat.h"
+#include "avstring.h"
#include <fcntl.h>
#include <unistd.h>
#include <sys/time.h>
@@ -31,7 +32,7 @@ static int file_open(URLContext *h, const char *filename, int flags)
int access;
int fd;
- strstart(filename, "file:", &filename);
+ av_strstart(filename, "file:", &filename);
if (flags & URL_RDWR) {
access = O_CREAT | O_TRUNC | O_RDWR;