Lines Matching refs:ifmt_ctx
49 AVFormatContext *ifmt_ctx = NULL, *ofmt_ctx = NULL;
67 if ((ret = avformat_open_input(&ifmt_ctx, in_filename, 0, 0)) < 0) {
72 if ((ret = avformat_find_stream_info(ifmt_ctx, 0)) < 0) {
77 av_dump_format(ifmt_ctx, 0, in_filename, 0);
88 for (i = 0; i < ifmt_ctx->nb_streams; i++) {
89 AVStream *in_stream = ifmt_ctx->streams[i];
125 ret = av_read_frame(ifmt_ctx, &pkt);
129 in_stream = ifmt_ctx->streams[pkt.stream_index];
132 log_packet(ifmt_ctx, &pkt, "in");
152 avformat_close_input(&ifmt_ctx);