[FFmpeg-trac] #391(avcodec:open): multiple definition of `_DXVA2_Fixed32OpaqueAlpha'

FFmpeg trac at avcodec.org
Wed Aug 17 09:49:43 CEST 2011


#391: multiple definition of `_DXVA2_Fixed32OpaqueAlpha'
----------------------+----------------------
Reporter:  KSHawkEye  |       Owner:  michael
    Type:  defect     |      Status:  open
Priority:  critical   |   Component:  avcodec
 Version:  git        |  Resolution:
Keywords:             |  Blocked By:
Blocking:             |  Reproduced:  0
Analyzed:  0          |
----------------------+----------------------

Comment (by cehoyos):

 Afaict, the functions (that currently only use forceinline) defined in
 dxva2api.h all have to be defined "static" (as it is done in many internal
 FFmpeg headers, for example libavformat/network.h).

 Could you report this to the w64 mingw-runtime developers?
 (Or am I missing something?)

 An alternative would be be to try
 {{{
 #undef __forceinline
 #define __forceinline static av_always_inline
 }}}
 before including the header.

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/391#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list