[mythtv-commits] Ticket #12531: vdpau segfaults when video dimensions not multiple of 16

MythTV noreply at mythtv.org
Fri Jan 22 15:56:52 UTC 2016


#12531: vdpau segfaults when video dimensions not multiple of 16
-------------------------------------+-----------------------------
 Reporter:  yiannividalis@…          |          Owner:  jyavenard
     Type:  Bug Report - General     |         Status:  closed
 Priority:  minor                    |      Milestone:  unknown
Component:  MythTV - Video Playback  |        Version:  Master Head
 Severity:  medium                   |     Resolution:  fixed
 Keywords:                           |  Ticket locked:  0
-------------------------------------+-----------------------------

Comment (by Jean-Yves Avenard <jyavenard@…>):

 In [changeset:"ce3eb5e4a0b745d7abe57979fd38f219ea5ed2ac/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="ce3eb5e4a0b745d7abe57979fd38f219ea5ed2ac"
 Get around libvdpau crashing with some resolutions.

 Two problems at hand, one is ours being that the pitch for U plane was
 wrong (twice as big as it should have been).
 There's still appear to be a problem with libvdpau causing an out of bound
 read when using resolution not multiple of 16. The issue is bypassed here
 as we allocate more than necessary and have both the U and V plans
 pointing to the same buffer, giving us plenty of leeway.

 Fixes #12531
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12531#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list