[mythtv-commits] Ticket #6645: configure script && libavcodec.pro handle latm_parser option incorrect

MythTV mythtv at cvs.mythtv.org
Sun Jun 21 19:12:31 UTC 2009


#6645: configure script && libavcodec.pro handle latm_parser option incorrect
-----------------------------------------+----------------------------------
 Reporter:  peter.brouwer at btconnect.com  |        Owner:  ijr       
     Type:  defect                       |       Status:  new       
 Priority:  major                        |    Milestone:  0.21.1    
Component:  MythTV - General             |      Version:  0.21-fixes
 Severity:  medium                       |   Resolution:            
  Mlocked:  0                            |  
-----------------------------------------+----------------------------------

Comment(by peter.brouwer at btconnect.com):

 <PRE>
 From Script libavcodec.pro
   --- contains( CONFIG_LIBFAAD, yes ) { SOURCES *= libfaad.c latmaac.c }
 So latmaac.c is only pulled in if CONFIG_LIBFAAD is set
 <PRE>
 However when the configure script sets the following in mythconfig.h
                #define CONFIG_LATM_PARSER 1 #define ENABLE_LATM_PARSER 1
 and make.mak
                CONFIG_LATM_PARSER=yes

 without setting CONFIG_LIBFAAD

 The latm c source module is not compiled, but an entry is created in
 allcodecs.c for latmaac.c, latm_parser, resulting in a missing latm_parser
 in the middle of the compilation process.

 When just setting CONFIG_LATM_PARSE I get unresolved labels from
 latmaac.o when the library containing latmaac.o is used to create an
 executable
 </PRE>

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6645#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list