[mythtv-commits] Ticket #5953: Compilation fails in videoout_xv.cpp

MythTV mythtv at cvs.mythtv.org
Mon Dec 1 20:20:24 UTC 2008


#5953: Compilation fails in videoout_xv.cpp
----------------------------------+-----------------------------------------
 Reporter:  ianh at ianhastie.me.uk  |       Owner:  ijr 
     Type:  defect                |      Status:  new 
 Priority:  minor                 |   Milestone:  0.22
Component:  mythtv                |     Version:  head
 Severity:  medium                |     Mlocked:  0   
----------------------------------+-----------------------------------------
 When neither USING_XVMC nor USING_VDPAU, eg in a backend server, is
 defined compilation fails with the following

 videoout_xv.cpp: In static member function 'static MythCodecID
 VideoOutputXv::GetBestSupportedCodec(uint, uint, uint, uint, uint, int,
 bool, bool)':
 videoout_xv.cpp:1488: error: 'ret' was not declared in this scope
 make[2]: *** [videoout_xv.o] Error 1

 This is because the variable ret used in line 1488 is defined in line
 1415, and this line is in a block of code only compiled when one of the
 above two options is defined.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5953>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list