diff mbox

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

Message ID 20170719192649.30098-1-cus@passwd.hu
State New
Headers show

Commit Message

Marton Balint July 19, 2017, 7:26 p.m. UTC
Similar to libavcodec, duplicate ff_reverse table in case of a shared build.

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

Patch

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"