Browse Source

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
Michael Niedermayer 10 years ago
parent
commit
a870aa89bf
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/seek-test.c

+ 2
- 0
libavformat/seek-test.c View File

@@ -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…
Cancel
Save