Commit 1f1ec958 authored by Mark Thompson's avatar Mark Thompson

Merge commit '21733b39'

* commit '21733b39':
  lavu/qsv: fix a random hwupload failure regression

Fixes CID #1439585.
Merged-by: 's avatarMark Thompson <sw@jkqxz.net>
parents 5a3ce4a9 21733b39
...@@ -833,7 +833,7 @@ static int qsv_transfer_data_to(AVHWFramesContext *ctx, AVFrame *dst, ...@@ -833,7 +833,7 @@ static int qsv_transfer_data_to(AVHWFramesContext *ctx, AVFrame *dst,
mfxSyncPoint sync = NULL; mfxSyncPoint sync = NULL;
mfxStatus err; mfxStatus err;
int ret; int ret = 0;
while (!s->session_upload_init && !s->session_upload && !ret) { while (!s->session_upload_init && !s->session_upload && !ret) {
#if HAVE_PTHREADS #if HAVE_PTHREADS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment