Lines Matching defs:avctx
70 AVCodecContext* avctx = ptr;
71 if (avctx->codec && av_codec_is_decoder(avctx->codec))
151 AVCodecContext *avctx= av_malloc(sizeof(AVCodecContext));
153 if (!avctx)
156 if (init_context_defaults(avctx, codec) < 0) {
157 av_free(avctx);
161 return avctx;
166 AVCodecContext *avctx = *pavctx;
168 if (!avctx)
171 avcodec_close(avctx);
173 av_freep(&avctx->extradata);
174 av_freep(&avctx->subtitle_header);
175 av_freep(&avctx->intra_matrix);
176 av_freep(&avctx->inter_matrix);
177 av_freep(&avctx->rc_override);
178 av_channel_layout_uninit(&avctx->ch_layout);