1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix uninitialized return value in createVpxImage

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-10-26 21:22:04 +01:00
parent 3047a65120
commit eb2b7d03ad
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -19,8 +19,7 @@
vpx_image_t VideoFrame::createVpxImage() const vpx_image_t VideoFrame::createVpxImage() const
{ {
vpx_image img; vpx_image img;
img.w = 0; img.w = img.h = img.d_w = img.d_h = 0;
img.h = 0;
if (!isValid()) if (!isValid())
return img; return img;