obs-qsv11: Fix SEI crash caused by dangling pointer
This commit is contained in:
parent
26c28b4502
commit
34ee1a87c3
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user