From 8ec19f84e12283dd79c16782ab55dd3b4e1ded66 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 17 Jul 2011 16:19:28 +0200 Subject: cmdutils: add codec_opts parameter to setup_find_stream_info_opts() Avoid brittle and obfuscating reference to a global. Signed-off-by: Anton Khirnov --- cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdutils.c') diff --git a/cmdutils.c b/cmdutils.c index 19c5d72857..f6e50fa534 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -806,7 +806,7 @@ AVDictionary *filter_codec_opts(AVDictionary *opts, enum CodecID codec_id, int e return ret; } -AVDictionary **setup_find_stream_info_opts(AVFormatContext *s) +AVDictionary **setup_find_stream_info_opts(AVFormatContext *s, AVDictionary *codec_opts) { int i; AVDictionary **opts; -- cgit v1.2.1