Am Di., 13. Aug. 2019 um 14:11 Uhr schrieb Simon Brown <[email protected]>:
> I have a modified version of the demuxing_decoding.c program (with ffmpeg from > the latest git head), that I copied into a C++ file (to link it with other > software that > requires C++). The program compiles, but when linking it fails to find the > libraries, > so produces undefined references to all the av calls that I make. Which undefined references? > My compile and link script is: > gcc -o demux_decode demux_decode.cpp -L/usr/local/lib -lavformat .... "..." is the important part here as libavformat is not self-contained. libavutil is a requirement for all other FFmpeg libraries, libavcodec is also needed for libavformat. Carl Eugen _______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
