Lines Matching defs:avctx
64 static av_cold int fbdev_read_header(AVFormatContext *avctx)
66 FBDevContext *fbdev = avctx->priv_data;
72 if (!(st = avformat_new_stream(avctx, NULL)))
77 if (avctx->flags & AVFMT_FLAG_NONBLOCK)
80 if (avctx->url[0])
81 device = avctx->url;
87 av_log(avctx, AV_LOG_ERROR,
95 av_log(avctx, AV_LOG_ERROR,
102 av_log(avctx, AV_LOG_ERROR,
110 av_log(avctx, AV_LOG_ERROR,
124 av_log(avctx, AV_LOG_ERROR, "Error in mmap(): %s\n", av_err2str(ret));
137 av_log(avctx, AV_LOG_INFO,
150 static int fbdev_read_packet(AVFormatContext *avctx, AVPacket *pkt)
152 FBDevContext *fbdev = avctx->priv_data;
165 av_log(avctx, AV_LOG_TRACE,
172 if (avctx->flags & AVFMT_FLAG_NONBLOCK)
184 av_log(avctx, AV_LOG_WARNING,
204 static av_cold int fbdev_read_close(AVFormatContext *avctx)
206 FBDevContext *fbdev = avctx->priv_data;