diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-17 18:19:28 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-07-28 19:13:14 +0400 |
commit | 8ec19f84e12283dd79c16782ab55dd3b4e1ded66 (patch) | |
tree | e294cfb94e8948b83d9547f9e36bfee4335a33bc /ffmpeg.c | |
parent | ce23ca814b0fa6327b21e03be09b81f9b0d7113d (diff) |
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 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3252,7 +3252,7 @@ static int opt_input_file(const char *opt, const char *filename) } /* Set AVCodecContext options for avformat_find_stream_info */ - opts = setup_find_stream_info_opts(ic); + opts = setup_find_stream_info_opts(ic, codec_opts); orig_nb_streams = ic->nb_streams; /* If not enough info to get the stream parameters, we decode the |