summaryrefslogtreecommitdiff
path: root/cmdutils.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-07-17 16:19:28 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-28 17:13:14 +0200
commit8ec19f84e12283dd79c16782ab55dd3b4e1ded66 (patch)
treee294cfb94e8948b83d9547f9e36bfee4335a33bc /cmdutils.h
parentce23ca814b0fa6327b21e03be09b81f9b0d7113d (diff)
downloadffmpeg-8ec19f84e12283dd79c16782ab55dd3b4e1ded66.tar.gz
cmdutils: add codec_opts parameter to setup_find_stream_info_opts()
Avoid brittle and obfuscating reference to a global. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.h b/cmdutils.h
index dcd0b79a1f..7769194b9c 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -170,7 +170,7 @@ AVDictionary *filter_codec_opts(AVDictionary *opts, enum CodecID codec_id, int e
* @return pointer to the created array of dictionaries, NULL if it
* cannot be created
*/
-AVDictionary **setup_find_stream_info_opts(AVFormatContext *s);
+AVDictionary **setup_find_stream_info_opts(AVFormatContext *s, AVDictionary *codec_opts);
/**
* Print an error message to stderr, indicating filename and a human