Skip to content

Commit

Permalink
gvstream: fix wrong access to not yet initialized frame data
Browse files Browse the repository at this point in the history
The buffer we are processing here is not yet stored in frame data.
Fix #941
  • Loading branch information
EmmanuelP committed Nov 27, 2024
1 parent bf96964 commit c07e8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arvgvstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ _find_frame_data (ArvGvStreamThreadData *thread_data,
if (thread_data->callback != NULL)
thread_data->callback (thread_data->callback_data,
ARV_STREAM_CALLBACK_TYPE_BUFFER_DONE,
frame->buffer);
buffer);
return NULL;
}

Expand Down

0 comments on commit c07e8be

Please sign in to comment.