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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel