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

Michael Niedermayer michael at niedermayer.cc
Tue Jul 25 21:09:49 EEST 2017


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"
                      ^
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.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Does the universe only have a finite lifespan? No, its going to go on
forever, its just that you wont like living in it. -- Hiranya Peiri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170725/695a0a45/attachment.sig>


More information about the ffmpeg-devel mailing list