qsv: fix invalid assert on error
commit0afacd5cb391fe8e7bb3464444fefe976a242516
authorThomas Guillem <thomas@gllm.fr>
Wed, 13 Jan 2021 14:54:04 +0000 (13 15:54 +0100)
committerThomas Guillem <thomas@gllm.fr>
Thu, 14 Jan 2021 09:06:35 +0000 (14 10:06 +0100)
tree78d42639254bfb8c47d8c7f9e45a0746627e560e
parent6e6c2850a17867e3bf12a2fff8dfe3281335797a
qsv: fix invalid assert on error

Initialize the sys->packets list before handling error path that do
check that this list is empty.
modules/codec/qsv.c