Commit a870aa89 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/seek-test: Support passing options to demuxers and protocols

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 2355b745
......@@ -80,6 +80,8 @@ int main(int argc, char **argv)
if (atoi(argv[i+1])) {
ic->flags |= AVFMT_FLAG_FAST_SEEK;
}
} else if(argv[i][0] == '-' && argv[i+1]) {
av_dict_set(&format_opts, argv[i] + 1, argv[i+1], 0);
} else {
argc = 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment