st_index[AVMEDIA_TYPE_VIDEO] = -1;
wanted_stream[AVMEDIA_TYPE_AUDIO] = -1;
wanted_stream[AVMEDIA_TYPE_VIDEO] = -1;
+ AVDictionary *format_opts = NULL, *codec_opts = NULL;
const char *mime = NULL;
setFFmpegDefaultOpts();
ALOGE("Option %s not found.\n", t->key);
//ret = AVERROR_OPTION_NOT_FOUND;
ret = -1;
+ av_dict_free(&format_opts);
goto fail;
}
+ av_dict_free(&format_opts);
+
if (mGenPTS)
mFormatCtx->flags |= AVFMT_FLAG_GENPTS;
size_t nb_streams = 0;
const char *container = NULL;
AVFormatContext *ic = NULL;
+ AVDictionary *codec_opts = NULL;
AVDictionary **opts = NULL;
status_t status = initFFmpeg();
#include "libavutil/opt.h"
#include "libavformat/avformat.h"
-AVDictionary *format_opts, *codec_opts;
-
/*
void print_error(const char *filename, int err)
{
struct AVDictionary;
struct AVFormatContext;
-extern AVDictionary *format_opts, *codec_opts;
-
AVDictionary **setup_find_stream_info_opts(AVFormatContext *, AVDictionary *);
#ifdef __cplusplus