[FFmpeg-devel] [PATCH 0/5] Windows Resource File support

jamal jamrial at gmail.com
Thu Sep 27 09:35:28 CEST 2012


This patchset adds support for Windows Resource files in Windows shared libraries.
I thought about doing it for the executables as well, but I'd rather wait until i can get an icon for them.

The first four commits add some missing version macros and header dependencies. With this the macros across all libraries will be consistent.
This was done because they are needed by the rc files.

I implemented this in all libraries except for libavresample. It's not enabled by default and the ffmpeg project isn't maintaining it.

Regards

jamal (5):
  avcodec: Add missing include to version.h
  postproc: Create version.h header
  swresample: Create version.h header
  Add missing version macros to libraries
  Add Windows Resource File support for shared libraries

 Makefile                       |    3 +-
 common.mak                     |    7 +++++-
 configure                      |   15 +++++++++--
 libavcodec/Makefile            |    3 ++
 libavcodec/avcodecres.rc       |   49 ++++++++++++++++++++++++++++++++++++++++
 libavcodec/version.h           |    2 +
 libavdevice/Makefile           |    3 ++
 libavdevice/avdeviceres.rc     |   49 ++++++++++++++++++++++++++++++++++++++++
 libavdevice/version.h          |    2 +
 libavfilter/Makefile           |    3 ++
 libavfilter/avfilterres.rc     |   49 ++++++++++++++++++++++++++++++++++++++++
 libavfilter/version.h          |    2 +
 libavformat/Makefile           |    3 ++
 libavformat/avformatres.rc     |   49 ++++++++++++++++++++++++++++++++++++++++
 libavutil/Makefile             |    3 ++
 libavutil/avutilres.rc         |   49 ++++++++++++++++++++++++++++++++++++++++
 libpostproc/Makefile           |    6 ++++-
 libpostproc/postprocess.h      |   18 +--------------
 libpostproc/postprocessres.rc  |   49 ++++++++++++++++++++++++++++++++++++++++
 libpostproc/version.h          |   47 ++++++++++++++++++++++++++++++++++++++
 library.mak                    |    2 +-
 libswresample/Makefile         |    6 ++++-
 libswresample/swresample.h     |    8 +-----
 libswresample/swresampleres.rc |   49 ++++++++++++++++++++++++++++++++++++++++
 libswresample/version.h        |   45 ++++++++++++++++++++++++++++++++++++
 libswscale/Makefile            |    3 ++
 libswscale/swscaleres.rc       |   49 ++++++++++++++++++++++++++++++++++++++++
 27 files changed, 541 insertions(+), 32 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 libavutil/avutilres.rc
 create mode 100644 libpostproc/postprocessres.rc
 create mode 100644 libpostproc/version.h
 create mode 100644 libswresample/swresampleres.rc
 create mode 100644 libswresample/version.h
 create mode 100644 libswscale/swscaleres.rc

-- 
1.7.8.6



More information about the ffmpeg-devel mailing list