[FFmpeg-devel] [PATCH] libavdevice: fix ff_reverse shared build breakage with decklink_dec

Marton Balint cus at passwd.hu
Wed Jul 19 22:26:49 EEST 2017


Similar to libavcodec, duplicate ff_reverse table in case of a shared build.

Signed-off-by: Marton Balint <cus at passwd.hu>
---
 libavdevice/Makefile  | 1 +
 libavdevice/reverse.c | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 libavdevice/reverse.c

diff --git a/libavdevice/Makefile b/libavdevice/Makefile
index c055d6718d..384a8966b5 100644
--- a/libavdevice/Makefile
+++ b/libavdevice/Makefile
@@ -40,6 +40,7 @@ OBJS-$(CONFIG_PULSE_OUTDEV)              += pulse_audio_enc.o \
                                             pulse_audio_common.o
 OBJS-$(CONFIG_QTKIT_INDEV)               += qtkit.o
 OBJS-$(CONFIG_SDL2_OUTDEV)               += sdl2.o
+OBJS-$(CONFIG_SHARED)                    += reverse.o
 OBJS-$(CONFIG_SNDIO_INDEV)               += sndio_dec.o sndio.o
 OBJS-$(CONFIG_SNDIO_OUTDEV)              += sndio_enc.o sndio.o
 OBJS-$(CONFIG_V4L2_INDEV)                += v4l2.o v4l2-common.o timefilter.o
diff --git a/libavdevice/reverse.c b/libavdevice/reverse.c
new file mode 100644
index 0000000000..440badaf34
--- /dev/null
+++ b/libavdevice/reverse.c
@@ -0,0 +1 @@
+#include "libavutil/reverse.c"
-- 
2.12.3



More information about the ffmpeg-devel mailing list