On 08/25/2017 05:35 PM, wm4 wrote:
+#if CONFIG_VP8_V4L2M2M_DECODER
+ M2MDEC(vp8, "VP8", AV_CODEC_ID_VP8, NULL);
+#endif
+
+#if CONFIG_VP9_V4L2M2M_DECODER
+ M2MDEC(vp9, "VP9", AV_CODEC_ID_VP9, NULL);
+#endif
+
+#if CONFIG_HEVC_V4L2M2M_DECODER
+ M2MDEC(hevc, "HEVC", AV_CODEC_ID_HEVC, "h264_mp4toannexb");
+#endif
You don't need all this ifdeffery. A codec entry doesn't pull in
any additional functions, so a disabled codec entry will simply not
reference the AVCodec.
ok. will fix.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel