Under Xenial Xerus I am compiling the release version of guvcview against the latest git FFmpeg. In the latest FFmpeg PIX_FMT_YUV420P
has been replaced with AV_PIX_FMT_YUV420P
and I suspect this variable must be replaced through the guvcview source.
The error that breaks the compile is this:
jpeg_decoder.c:1439:33: error: use of undeclared identifier 'PIX_FMT_YUV422P'; did you mean
'AV_PIX_FMT_YUV422P'?
codec_data->context->pix_fmt = PIX_FMT_YUV422P;
^~~~~~~~~~~~~~~
AV_PIX_FMT_YUV422P
Does anybody have a patch or even some sed
magic to fix this issue?
References: