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:
parent
3047a65120
commit
eb2b7d03ad
|
@ -19,8 +19,7 @@
|
|||
vpx_image_t VideoFrame::createVpxImage() const
|
||||
{
|
||||
vpx_image img;
|
||||
img.w = 0;
|
||||
img.h = 0;
|
||||
img.w = img.h = img.d_w = img.d_h = 0;
|
||||
|
||||
if (!isValid())
|
||||
return img;
|
||||
|
|
Loading…
Reference in New Issue
Block a user