mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avformat/seek-test: Support passing options to demuxers and protocols
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2355b7458e
commit
a870aa89bf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user