ffmpeg --enable-shared编译时
libavcodec/mqc.o: relocation r_x86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fpic
ffmpeg编译错误,修改Makefile
121:$$(OBJS-$(1)): CFLAGS += $(CFLAGS-$(1))
为
121:$$(OBJS-$(1)): CFLAGS += -fPIC $(CFLAGS-$(1))
重新make,成功。