aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-09-29 23:06:51 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-09-29 23:06:51 +0000
commit0093ebc20aeee6d184aff047d30d93b63186330b (patch)
tree5d667339d53be58fe22d7c718369673dbeb50794 /ffplay.c
parentf34fcdc8b67fb477563a8fc4284434b707de3d3b (diff)
downloadffmpeg-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index 99932c57a8..2e61268d93 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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) {