obs-qsv11: Fix SEI crash caused by dangling pointer

上级 26c28b45
......@@ -408,7 +408,7 @@ static bool update_settings(struct obs_qsv *obsqsv, obs_data_t *settings)
static void load_headers(struct obs_qsv *obsqsv)
{
DARRAY(uint8_t) header;
uint8_t sei = 0;
static uint8_t sei = 0;
// Not sure if SEI is needed.
// Just filling in empty meaningless SEI message.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册