[FFmpeg-devel] [PATCHv8] libavcodec: v4l2: add support for v4l2 mem2mem codecs
Jorge Ramirez
jorge.ramirez-ortiz at linaro.org
Sun Sep 3 16:16:01 EEST 2017
On 09/03/2017 02:27 AM, Mark Thompson wrote:
>> +int ff_v4l2m2m_codec_end(AVCodecContext *avctx)
>> +{
>> + V4L2m2mContext *s = avctx->priv_data;
>> +
>> + av_log(avctx, AV_LOG_DEBUG, "Closing context\n");
>> +
>> + return ff_v4l2_m2m_codec_end(s);
>> +}
>> +
>> +int ff_v4l2m2m_codec_init(AVCodecContext *avctx)
>> +{
>> + V4L2m2mContext *s = avctx->priv_data;
>> + s->avctx = avctx;
>> +
>> + return ff_v4l2_m2m_codec_init(s, avctx);
>> +}
> There's also some funny indenting in a few places in this file.
>
ACK
More information about the ffmpeg-devel
mailing list