mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
h264decoder: Fix invalid memory access
gst_h264_dpb_needs_bump() can be called with null picture in case of live Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1928>
This commit is contained in:
parent
2689277a6b
commit
3694045a54
1 changed files with 4 additions and 2 deletions
|
@ -855,8 +855,10 @@ normal_bump:
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (to_insert) {
|
||||||
GST_TRACE ("No empty frame buffer, but lowest poc %d > current poc %d,"
|
GST_TRACE ("No empty frame buffer, but lowest poc %d > current poc %d,"
|
||||||
" no need bumping.", lowest_poc, to_insert->pic_order_cnt);
|
" no need bumping.", lowest_poc, to_insert->pic_order_cnt);
|
||||||
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue