[Ffmpeg-devel] libavcodec/opt.h needs to be installed
Steven M. Schultz
sms
Sun Sep 11 19:29:10 CEST 2005
Hi -
avcodec.h does
#include "opt.h"
So if avcodec.h is installed into $prefix/ffmpeg then opt.h must also
be installed. When trying to build against an installed ffmpeg
I encountered a "no such file opt.h"...
Trivial patch attached to update libavcodec/Makefile
Cheers,
Steven Schultz
-------------- next part --------------
--- libavcodec/Makefile.dist 2005-09-11 10:08:42.000000000 -0700
+++ libavcodec/Makefile 2005-09-11 10:24:43.000000000 -0700
@@ -496,6 +496,7 @@
install-headers:
mkdir -p "$(prefix)/include/ffmpeg"
install -m 644 $(SRC_PATH)/libavcodec/avcodec.h \
+ $(SRC_PATH)/libavcodec/opt.h \
"$(prefix)/include/ffmpeg"
-install -d $(libdir)/pkgconfig
install -m 644 ../libavcodec.pc $(libdir)/pkgconfig
More information about the ffmpeg-devel
mailing list