diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-02-29 21:37:51 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-02 02:12:56 +0100 |
commit | a870aa89bf384f485c112794a0ca0b49d6aceca2 (patch) | |
tree | f8b8e263532e831e2e38bc6baf5b40a834215d91 /libavformat/seek-test.c | |
parent | 2355b7458e637a56a8eb878ee9dbe1e06dfd69b2 (diff) | |
download | ffmpeg-a870aa89bf384f485c112794a0ca0b49d6aceca2.tar.gz |
avformat/seek-test: Support passing options to demuxers and protocols
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/seek-test.c')
-rw-r--r-- | libavformat/seek-test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c index bfd06db3bb..904b435aaa 100644 --- a/libavformat/seek-test.c +++ b/libavformat/seek-test.c @@ -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; } |