Lines Matching defs:filename
154 static int init_input(AVFormatContext *s, const char *filename,
158 AVProbeData pd = { filename, NULL, 0 };
164 return av_probe_input_buffer2(s->pb, &s->iformat, filename,
176 if ((ret = s->io_open(s, &s->pb, filename, AVIO_FLAG_READ | s->avio_flags, options)) < 0)
181 return av_probe_input_buffer2(s->pb, &s->iformat, filename,
223 int avformat_open_input(AVFormatContext **ps, const char *filename,
251 if (!(s->url = av_strdup(filename ? filename : ""))) {
256 if ((ret = init_input(s, filename, &tmp)) < 0)
284 /* Check filename in case an image number is expected. */
286 if (!av_filename_number_test(filename)) {