bug fix when multiple streams are present (#2863)

Co-authored-by: Your Name <you@example.com>
This commit is contained in:
pfeatherstone 2023-09-19 13:09:55 +01:00 committed by GitHub
parent 4161cc3017
commit c53ff25952
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1475,7 +1475,7 @@ namespace dlib
{
ok = parse();
if (ok && st.packet->size > 0)
if (ok && channel && st.packet->size > 0)
{
// Decode
ok = channel->push(st.packet, wrap(st.frame_queue));