[FFmpeg-cvslog] examples: fix build of mux and resample_audio

Sebastian Ramacher git at videolan.org
Fri Jul 28 15:21:44 EEST 2023


ffmpeg | branch: master | Sebastian Ramacher <sramacher at debian.org> | Sun Apr 16 13:39:27 2023 +0200| [7de3fcb059376f50268aa1d0e7b9f98a440c1529] | committer: James Almer

examples: fix build of mux and resample_audio

The commits eac4324bfbe452f0292b48b2f1dc37b5052ec0be and
cd8211527efbb9cad19db1c0d033da0749836e43 renamed the examples, but the
targets were not updated. Hence, the builds are missing -lm.

Signed-off-by: Sebastian Ramacher <sramacher at debian.org>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7de3fcb059376f50268aa1d0e7b9f98a440c1529
---

 doc/examples/Makefile.example | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/examples/Makefile.example b/doc/examples/Makefile.example
index 01712f42d9..dee9ebf2f0 100644
--- a/doc/examples/Makefile.example
+++ b/doc/examples/Makefile.example
@@ -43,8 +43,8 @@ OBJS=$(addsuffix .o,$(EXAMPLES))
 # the following examples make explicit use of the math library
 avcodec:           LDLIBS += -lm
 encode_audio:      LDLIBS += -lm
-muxing:            LDLIBS += -lm
-resampling_audio:  LDLIBS += -lm
+mux:               LDLIBS += -lm
+resample_audio:    LDLIBS += -lm
 
 .phony: all clean-test clean
 



More information about the ffmpeg-cvslog mailing list