mirror of https://github.com/davisking/dlib.git
bug fix when multiple streams are present (#2863)
Co-authored-by: Your Name <you@example.com>
This commit is contained in:
parent
4161cc3017
commit
c53ff25952
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue