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
This commit is contained in:
Stefano Sabatini
2009-03-03 23:32:10 +00:00
parent 511b3667d6
commit 636f1c4cd0
4 changed files with 24 additions and 24 deletions

View File

@ -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);