[vlc-commits] qsv: code cleaning

Steve Lhomme git at videolan.org
Fri Aug 30 09:58:55 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Aug 23 15:23:44 2019 +0200| [f3e985b89cbe00f4086c27a4fde1283703cd39f6] | committer: Steve Lhomme

qsv: code cleaning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f3e985b89cbe00f4086c27a4fde1283703cd39f6
---

 modules/codec/qsv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/qsv.c b/modules/codec/qsv.c
index d850f62d1e..b9e69bb322 100644
--- a/modules/codec/qsv.c
+++ b/modules/codec/qsv.c
@@ -874,7 +874,7 @@ static block_t *Encode(encoder_t *this, picture_t *pic)
          (!pic && async_task_t_fifo_GetCount(&sys->packets)))
     {
         assert(async_task_t_fifo_Show(&sys->packets)->syncp != 0);
-        async_task_t *task = async_task_t_fifo_Get(&sys->packets);
+        task = async_task_t_fifo_Get(&sys->packets);
         block = qsv_synchronize_block( enc, task );
         free(task->syncp);
         free(task);



More information about the vlc-commits mailing list