aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-03-03 23:32:10 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-03-03 23:32:10 +0000
commit636f1c4cd036354a91f7c0ba5729195077edb49d (patch)
treed3c658224aca912e9d80c2535b509fc6809127b2 /ffplay.c
parent511b3667d68ad89d6efee3477cb030b585ef6b4b (diff)
downloadffmpeg-636f1c4cd036354a91f7c0ba5729195077edb49d.tar.gz
Rename avctx_opts to avcodec_opts.
The new name is more meaningful and consistent with avformat_opts and sws_opts. Originally committed as revision 17789 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 9551561d64..18486b4be2 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1752,7 +1752,7 @@ static int stream_component_open(VideoState *is, int stream_index)
enc->error_recognition= error_recognition;
enc->error_concealment= error_concealment;
- set_context_opts(enc, avctx_opts[enc->codec_type], 0);
+ set_context_opts(enc, avcodec_opts[enc->codec_type], 0);
if (!codec ||
avcodec_open(enc, codec) < 0)
@@ -2558,7 +2558,7 @@ int main(int argc, char **argv)
av_register_all();
for(i=0; i<CODEC_TYPE_NB; i++){
- avctx_opts[i]= avcodec_alloc_context2(i);
+ avcodec_opts[i]= avcodec_alloc_context2(i);
}
avformat_opts = avformat_alloc_context();
sws_opts = sws_getContext(16,16,0, 16,16,0, sws_flags, NULL,NULL,NULL);