diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-07-28 16:47:38 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-08-12 18:35:12 +0200 |
commit | d4863fc1a83ceab1d75469b406a2c67e5659b2a0 (patch) | |
tree | 6d8779fe01d8bda7e23473fc45da43467b072b1f /avplay.c | |
parent | f60d13663742d1c695680ede83c4d646bc57d380 (diff) | |
download | ffmpeg-d4863fc1a83ceab1d75469b406a2c67e5659b2a0.tar.gz |
cmdutils: allow precisely specifying a stream for AVOptions.
Diffstat (limited to 'avplay.c')
-rw-r--r-- | avplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2134,7 +2134,7 @@ static int stream_component_open(VideoState *is, int stream_index) return -1; avctx = ic->streams[stream_index]->codec; - opts = filter_codec_opts(codec_opts, avctx->codec_id, 0); + opts = filter_codec_opts(codec_opts, avctx->codec_id, ic, ic->streams[stream_index]); /* prepare audio output */ if (avctx->codec_type == AVMEDIA_TYPE_AUDIO) { |