[GRASS-dev] [GRASS GIS] #1423: GRASS 6.4.1 won't compile against FFmpeg 0.8

GRASS GIS trac at osgeo.org
Sun Aug 19 12:59:01 PDT 2012


#1423: GRASS 6.4.1 won't compile against FFmpeg 0.8
-------------------------+--------------------------------------------------
 Reporter:  sharpie      |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  critical     |   Milestone:  6.4.3                    
Component:  Compiling    |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by glynn):

 Replying to [comment:9 neteler]:
 > Glynn, should the patch be submitted?
 It depends upon whether you're more concerned about the patch not working
 with older versions of FFMPEG or the lack of a patch not working with
 newer versions.

 It wouldn't be hard to add some `#define`s, provided that we could figure
 out the correct version check. E.g.
 {{{
 #if OLD_FFMPEG
 #define AVMEDIA_TYPE_VIDEO CODEC_TYPE_VIDEO
 #define AV_PKT_FLAG_KEY PKT_FLAG_KEY
 #define av_guess_format guess_format
 #define avformat_alloc_context av_alloc_format_context
 #endif
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1423#comment:10>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list