diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-09-29 23:06:51 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-09-29 23:06:51 +0000 |
commit | 0093ebc20aeee6d184aff047d30d93b63186330b (patch) | |
tree | 5d667339d53be58fe22d7c718369673dbeb50794 /ffplay.c | |
parent | f34fcdc8b67fb477563a8fc4284434b707de3d3b (diff) | |
download | ffmpeg-0093ebc20aeee6d184aff047d30d93b63186330b.tar.gz |
User application side of Codec specific parameters.
Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2280,7 +2280,7 @@ static int stream_component_open(VideoState *is, int stream_index) avctx->error_concealment= error_concealment; avcodec_thread_init(avctx, thread_count); - set_context_opts(avctx, avcodec_opts[avctx->codec_type], 0); + set_context_opts(avctx, avcodec_opts[avctx->codec_type], 0, codec); if (!codec || avcodec_open(avctx, codec) < 0) @@ -2458,7 +2458,7 @@ static int decode_thread(void *arg) ap->time_base= (AVRational){1, 25}; ap->pix_fmt = frame_pix_fmt; - set_context_opts(ic, avformat_opts, AV_OPT_FLAG_DECODING_PARAM); + set_context_opts(ic, avformat_opts, AV_OPT_FLAG_DECODING_PARAM, NULL); err = av_open_input_file(&ic, is->filename, is->iformat, 0, ap); if (err < 0) { |