[FFmpeg-trac] #256(build system:closed): FFmpeg fails to build after SDL output device addition

FFmpeg trac at avcodec.org
Fri Jun 3 17:13:12 CEST 2011


#256: FFmpeg fails to build after SDL output device addition
-----------------------+---------------------------
Reporter:  KSHawkEye   |       Owner:
    Type:  defect      |      Status:  closed
Priority:  important   |   Component:  build system
 Version:  git-master  |  Resolution:  fixed
Keywords:  sdl         |  Blocked By:
Blocking:              |  Reproduced:  1
Analyzed:  1           |
-----------------------+---------------------------
Changes (by saste):

 * analyzed:  0 => 1
 * status:  open => closed
 * resolution:   => fixed
 * reproduced:  0 => 1


Comment:

 Fixed in commit:
 {{{
 commit 25c32d082b1ab4c3567c09f707e75c8ac582806c
 Author: Carl Eugen Hoyos <cehoyos at ag.or.at>
 Date:   Fri Jun 3 13:30:27 2011 +0200

     cmdutils: move "#undef main" from ffplay.c to cmdutils.h

     On Windows/MinGW the SDL cflags re-define the main() function, which
     results in a linking error if the define is not undeffed.

     Since the addition of the SDL output device, SDL cflags are used also
     for compiling ffmpeg and ffprobe, so we need to move this trick from
     ffplay.c to a common header.

     Fix trac issue #256.
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/256#comment:11>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list