Skip to content

Commit

Permalink
Fix a handful of unintialised member warnings in mythrender_vdpau.cpp…
Browse files Browse the repository at this point in the history
…. Coverity 700932-700933, 700935-700938
  • Loading branch information
stuartm committed Dec 18, 2012
1 parent 46f0b4f commit f56b496
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mythtv/libs/libmythui/mythrender_vdpau.cpp
Expand Up @@ -147,7 +147,7 @@ class VDPAULayer
class VDPAUResource
{
public:
VDPAUResource() {}
VDPAUResource() : m_id(0) {}
VDPAUResource(uint id, QSize size) : m_id(id), m_size(size) { }
virtual ~VDPAUResource() {}

Expand All @@ -158,7 +158,7 @@ class VDPAUResource
class VDPAUOutputSurface : public VDPAUResource
{
public:
VDPAUOutputSurface() {}
VDPAUOutputSurface() : m_fmt(0) {}
VDPAUOutputSurface(uint id, QSize size, VdpRGBAFormat fmt)
: VDPAUResource(id, size), m_fmt(fmt) { }

Expand All @@ -168,7 +168,7 @@ class VDPAUOutputSurface : public VDPAUResource
class VDPAUVideoSurface : public VDPAUResource
{
public:
VDPAUVideoSurface() : m_needs_reset(false), m_owner(NULL)
VDPAUVideoSurface() : m_type(0), m_needs_reset(false), m_owner(NULL)
{
memset(&m_render, 0, sizeof(struct vdpau_render_state));
}
Expand Down Expand Up @@ -196,7 +196,7 @@ class VDPAUVideoSurface : public VDPAUResource
class VDPAUBitmapSurface : public VDPAUResource
{
public:
VDPAUBitmapSurface() {}
VDPAUBitmapSurface() {} : m_fmt(0) {}
VDPAUBitmapSurface(uint id, QSize size, VdpRGBAFormat fmt)
: VDPAUResource(id, size), m_fmt(fmt) { }

Expand All @@ -206,7 +206,7 @@ class VDPAUBitmapSurface : public VDPAUResource
class VDPAUDecoder : public VDPAUResource
{
public:
VDPAUDecoder() {}
VDPAUDecoder() : m_profile(0), m_max_refs(0) {}
VDPAUDecoder(uint id, QSize size, VdpDecoderProfile profile, uint refs)
: VDPAUResource(id, size), m_profile(profile), m_max_refs(refs) { }

Expand All @@ -218,7 +218,7 @@ class VDPAUVideoMixer : public VDPAUResource
{
public:
VDPAUVideoMixer() :
m_layers(0), m_features(0),
m_layers(0), m_features(0), m_type(0),
m_noise_reduction(NULL), m_sharpness(NULL),
m_skip_chroma(NULL), m_background(NULL)
{
Expand Down

0 comments on commit f56b496

Please sign in to comment.