libyami/libyami-init-bool.patch
DistroBaker 1c47541635 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/libyami.git#62e7457e095b91c19b9ff9d196a7a1a107aff5f2
2020-12-16 21:34:17 +00:00

22 lines
927 B
Diff

diff -up libyami-edd1ad15e383d32c8d67bdc9198c834b6acebca5/encoder/vaapiencoder_base.cpp.init libyami-edd1ad15e383d32c8d67bdc9198c834b6acebca5/encoder/vaapiencoder_base.cpp
--- libyami-edd1ad15e383d32c8d67bdc9198c834b6acebca5/encoder/vaapiencoder_base.cpp.init 2020-01-30 04:35:19.000000000 +0100
+++ libyami-edd1ad15e383d32c8d67bdc9198c834b6acebca5/encoder/vaapiencoder_base.cpp 2020-02-06 20:46:24.670371008 +0100
@@ -678,7 +678,7 @@ YamiStatus VaapiEncoderBase::checkCodecD
#ifndef __BUILD_GET_MV__
YamiStatus VaapiEncoderBase::getOutput(VideoEncOutputBuffer* outBuffer, bool withWait)
{
- bool isEmpty;
+ bool isEmpty = true;
PicturePtr picture;
YamiStatus ret;
FUNC_ENTER();
@@ -703,7 +703,7 @@ YamiStatus VaapiEncoderBase::getOutput(V
{
void *data = NULL;
uint32_t mappedSize;
- bool isEmpty;
+ bool isEmpty = true;
PicturePtr picture;
YamiStatus ret;
FUNC_ENTER();