	ʹõ "" Դ, йЭμַ! Э⸴ƺʹ, ޸ĺ没ΣĶ!


--------------------[ FFmpeg ]--------------------------------------------------
http://ffmpeg.org/legal.html

--------------------[ Fontconfig ]----------------------------------------------
https://freedesktop.org/wiki/Software/fontconfig/

--------------------[ FreeType ]------------------------------------------------
http://www.freetype.org/license.html

--------------------[ libass ]--------------------------------------------------
https://github.com/libass/libass



================================================================================
ǰ FFmpeg 汾Դصַ: ( : --enable-shared --disable-static --enable-memalign-hack --disable-encoders --disable-muxers )
http://www.chken.com/KenPlayer/FFmpeg-Sources/
https://ffmpeg.zeranoe.com/builds/source/ffmpeg/ffmpeg-20160330-git-be746ae.tar.xz

ڱһֱڵ, ÿαܶʹ˲һĲ, ڱ FFmpeg DLL ҵϸ, ﲻٸ


ڱɵDLL

DLL²
1.ļȡΪ FFmpegAll.ver,  (ԼӺɾ):
FFMPEGALL_1 {
        global:
avcodec_open2;
avcodec_close;
avcodec_flush_buffers;
avcodec_find_decoder;
avcodec_decode_video2;
avcodec_decode_audio4;
avcodec_decode_subtitle2;
avsubtitle_free;
av_register_all;
av_init_packet;
av_packet_unref;
av_seek_frame;
av_read_frame;
av_log;
av_log_set_level;
av_pix_fmt_desc_get;
av_get_bytes_per_sample;
av_get_bits_per_pixel;
av_get_default_channel_layout;
av_malloc;
av_freep;
av_frame_alloc;
av_frame_free;
av_frame_unref;
av_dict_get;
av_dict_set;
av_dict_free;
av_reduce;
av_dump_format;
avformat_open_input;
avformat_close_input;
avformat_alloc_context;
avformat_find_stream_info;
avio_alloc_context;
swr_convert;
swr_free;
swr_init;
swr_alloc_set_opts;
sws_scale;
sws_getCachedContext;
sws_freeContext;
av_buffer_create;
av_frame_move_ref;
av_frame_get_buffer;
av_frame_copy_props;
av_hwaccel_next;
        local:
*;
};

2.ɾظĿļ, һ
	Ŀǰظ golomb_tab.o log2_tab.o reverse.o
	*res.o ȫɾ

3.ԿʼDLL (ע޸·, Ϊ϶ҵĲһ)

gcc.exe -shared -Wl,--output-def,FFmpegAll.orig.def -Wl,--out-implib,FFmpegAll.dll.a -Wl,--enable-runtime-pseudo-reloc -Wl,-Bsymbolic -Wl,--version-script,һFFmpegAll.ver·/FFmpegAll.ver -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,--gc-sections,--print-gc-sections,--strip-all -static-libgcc -Wl,--nxcompat,--dynamicbase -Wl,--as-needed -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample -o FFmpegAll.dll -L/mingw/lib libavcodec/*.o libavcodec/x86/*.o libavformat/*.o libavutil/*.o libavutil/x86/*.o libswresample/*.o libswresample/x86/*.o libswscale/*.o libswscale/x86/*.o -lws2_32 -lmingw32 -luser32 -lgdi32 -lwinmm -ldxguid -mconsole -lm -lz -lpsapi -ladvapi32 -lshell32 -lSecur32

4.DLLǲ, Ҫ LIB ļ
dlltool.exe -m i386        -d FFmpegAll.orig.def -l FFmpegAll.x86.lib -D FFmpegAll.dll
dlltool.exe -m i386:x86-64 -d FFmpegAll.orig.def -l FFmpegAll.x64.lib -D FFmpegAll.dll
