[FFmpeg-devel] [PATCH 1/4] Move lavd/v4l2-common.* to lavc

Jorge Ramirez jorge.ramirez-ortiz at linaro.org
Tue Jul 25 21:14:37 EEST 2017


On 07/25/2017 08:09 PM, Michael Niedermayer wrote:
> On Mon, Jul 24, 2017 at 09:08:46PM +0200, Jorge Ramirez-Ortiz wrote:
>> From: Alexis Ballier <aballier at gentoo.org>
>>
>> In preparation to support the integation of the V4L2 API for encoding
>> and decoding, move v4l2 related files to libavcodec.
>>
>> Signed-off-by: Alexis Ballier <aballier at gentoo.org>
>> Reviewed-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz at linaro.org>
>> ---
>>   configure                 |   6 ++-
>>   libavcodec/Makefile       |   1 +
>>   libavcodec/v4l2-common.c  | 105 ++++++++++++++++++++++++++++++++++++++++++++++
>>   libavcodec/v4l2-common.h  |  57 +++++++++++++++++++++++++
>>   libavdevice/Makefile      |   6 +--
>>   libavdevice/v4l2-common.c | 105 ----------------------------------------------
>>   libavdevice/v4l2-common.h |  61 ---------------------------
>>   libavdevice/v4l2.c        |  40 ++++++++++++------
>>   libavdevice/v4l2enc.c     |  12 +++++-
>>   9 files changed, 206 insertions(+), 187 deletions(-)
>>   create mode 100644 libavcodec/v4l2-common.c
>>   create mode 100644 libavcodec/v4l2-common.h
>>   delete mode 100644 libavdevice/v4l2-common.c
>>   delete mode 100644 libavdevice/v4l2-common.h
> breaks build
>
> CC      libavdevice/v4l2.o
> CC      libavdevice/v4l2enc.o
> CC      libavcodec/v4l2-common.o
> In file included from libavdevice/v4l2enc.c:29:0:
> ./libavcodec/v4l2-common.h:36:22: fatal error: avdevice.h: No such file or directory
>   #include "avdevice.h"

my fault, I fixed that in the subsequent patches. will fix in v2

>                        ^
> compilation terminated.
> In file included from libavdevice/v4l2.c:47:0:
> ./libavcodec/v4l2-common.h:36:22: fatal error: avdevice.h: No such file or directory
>   #include "avdevice.h"
>                        ^
> compilation terminated.
> In file included from libavcodec/v4l2-common.c:19:0:
> libavcodec/v4l2-common.h:36:22: fatal error: avdevice.h: No such file or directory
>   #include "avdevice.h"
>                        ^
> compilation terminated.
> make: *** [libavdevice/v4l2enc.o] Error 1
> make: *** [libavdevice/v4l2.o] Error 1
> make: *** [libavcodec/v4l2-common.o] Error 1
> make: Target `all' not remade because of errors.
>
> [...]
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list