cmdutils: add opt_default2().

It stores options in a dictionary to be passed to new open calls.

It will replace opt_default once all the pieces are in place.
This commit is contained in:
Anton Khirnov 2011-05-25 16:42:41 +02:00
parent 1b9b37b8a4
commit 9ba38229e5
2 changed files with 47 additions and 4 deletions

View file

@ -43,6 +43,7 @@ extern const char **opt_names;
extern AVCodecContext *avcodec_opts[AVMEDIA_TYPE_NB];
extern AVFormatContext *avformat_opts;
extern struct SwsContext *sws_opts;
extern AVDictionary *format_opts, *video_opts, *audio_opts, *sub_opts;
/**
* Initialize the cmdutils option system, in particular