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 <aball...@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 <aball...@gentoo.org>
Reviewed-by: Jorge Ramirez-Ortiz <jorge.ramirez-or...@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@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel