obs-qsv11: Fix SEI crash caused by dangling pointer

This commit is contained in:
Richard Stanway 2017-05-04 21:43:40 +02:00
parent 26c28b4502
commit 34ee1a87c3
No known key found for this signature in database
GPG Key ID: AAC1E5265D71B3FD

View File

@ -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.