[FFmpeg-devel] [PATCH] Add Windows resource file support for shared libraries

Timothy Gu timothygu99 at gmail.com
Tue Nov 26 04:53:29 CET 2013


On Mon, Nov 25, 2013 at 7:51 PM, Timothy Gu <timothygu99 at gmail.com> wrote:
> Based on patch by: James Almer <jamrial at gmail.com>
>
> Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
> ---
>  Makefile                       |  3 +-
>  common.mak                     |  9 ++++-
>  configure                      | 10 ++++-
>  libavcodec/Makefile            |  3 ++
>  libavcodec/avcodecres.rc       | 32 +++++++++++++++
>  libavdevice/Makefile           |  3 ++
>  libavdevice/avdeviceres.rc     | 32 +++++++++++++++
>  libavfilter/Makefile           |  3 ++
>  libavfilter/avfilterres.rc     | 32 +++++++++++++++
>  libavformat/Makefile           |  3 ++
>  libavformat/avformatres.rc     | 32 +++++++++++++++
>  libavresample/Makefile         |  3 ++
>  libavresample/avresampleres.rc | 32 +++++++++++++++
>  libavutil/Makefile             |  3 ++
>  libavutil/avutilres.rc         | 32 +++++++++++++++
>  libpostproc/Makefile           |  3 ++
>  libpostproc/postprocres.rc     | 32 +++++++++++++++
>  library.mak                    |  2 +-
>  libswresample/Makefile         |  3 ++
>  libswresample/swresampleres.rc | 32 +++++++++++++++
>  libswscale/Makefile            |  3 ++
>  libswscale/swscaleres.rc       | 32 +++++++++++++++
>  tools/gen-rc                   | 88 ++++++++++++++++++++++++++++++++++++++++++
>  23 files changed, 422 insertions(+), 5 deletions(-)
>  create mode 100644 libavcodec/avcodecres.rc
>  create mode 100644 libavdevice/avdeviceres.rc
>  create mode 100644 libavfilter/avfilterres.rc
>  create mode 100644 libavformat/avformatres.rc
>  create mode 100644 libavresample/avresampleres.rc
>  create mode 100644 libavutil/avutilres.rc
>  create mode 100644 libpostproc/postprocres.rc
>  create mode 100644 libswresample/swresampleres.rc
>  create mode 100644 libswscale/swscaleres.rc
>  create mode 100755 tools/gen-rc

This is rebased on top of Stefano's this_year patch.

James, in this patch configure does NOT call gen-rc --  it's just
provided for future uses.

[...]

Timothy


More information about the ffmpeg-devel mailing list