ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Mon Feb 29 21:37:51 2016 +0100| [a870aa89bf384f485c112794a0ca0b49d6aceca2] | committer: Michael Niedermayer
avformat/seek-test: Support passing options to demuxers and protocols Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a870aa89bf384f485c112794a0ca0b49d6aceca2 --- libavformat/seek-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c index bfd06db..904b435 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; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog