[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-devel
Subject:    [xine-devel] xine crashes with XvMC video output
From:       Chris Rankin <rankincj () yahoo ! com>
Date:       2011-07-17 20:09:32
Message-ID: 1310933372.66694.YahooMailClassic () web121706 ! mail ! ne1 ! yahoo ! com
[Download RAW message or body]

Hi,

Now that AMD R300 and R600 hardware is beginning to support XvMC, I thought I'd test \
it with xine (1.1.19hg). And I discovered that it crashed immediately with a SIGSEGV \
error. The reason why wasn't difficult to find, either:

video_out_xvmc.c:1444:9: warning: 'adaptor_num' may be used uninitialized in this \
function [-Wuninitialized] video_out_xvmc.c:1444:9: warning: 'adaptor_info' may be \
used uninitialized in this function [-Wuninitialized]

Basically, the adaptor_num and adaptor_info variables are never initialised, which \
inevitably leads to a crash in open_plugin().

Cheers,
Chris

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
xine-devel mailing list
xine-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic