Hi,

compiling the decoding_encoding example currently fails with:
/usr/bin/ld: decoding_encoding.o: undefined reference to symbol 'sin@@GLIBC_2.2.5'

The attached patch fixes this.

Best regards,
Andreas
>From 912a6cf3436e7d50036edb275acfc79ec69782f4 Mon Sep 17 00:00:00 2001
From: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
Date: Fri, 9 Jan 2015 17:50:27 +0100
Subject: [PATCH] doc/examples: fix lib math dep for decoding_encoding

It uses at least sin().

Signed-off-by: Andreas Cadhalpun <andreas.cadhal...@googlemail.com>
---
 doc/examples/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 07251fe..9f03f04 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -29,6 +29,7 @@ OBJS=$(addsuffix .o,$(EXAMPLES))
 
 # the following examples make explicit use of the math library
 avcodec:           LDLIBS += -lm
+decoding_encoding: LDLIBS += -lm
 muxing:            LDLIBS += -lm
 resampling_audio:  LDLIBS += -lm
 
-- 
2.1.4

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to