Searched refs:dec_ctx (Results 1 – 1 of 1) sorted by relevance
521 AVCodecContext ** dec_ctx, AVFormatContext * fmt_ctx, in ffmpeg_open_codec_context() argument549 *dec_ctx = avcodec_alloc_context3(dec); in ffmpeg_open_codec_context()550 if(*dec_ctx == NULL) { in ffmpeg_open_codec_context()557 if((ret = avcodec_parameters_to_context(*dec_ctx, st->codecpar)) < 0) { in ffmpeg_open_codec_context()565 if((ret = avcodec_open2(*dec_ctx, dec, &opts)) < 0) { in ffmpeg_open_codec_context()