mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +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;
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_TRACE ("No empty frame buffer, but lowest poc %d > current poc %d,"
|
if (to_insert) {
|
||||||
" no need bumping.", lowest_poc, to_insert->pic_order_cnt);
|
GST_TRACE ("No empty frame buffer, but lowest poc %d > current poc %d,"
|
||||||
|
" no need bumping.", lowest_poc, to_insert->pic_order_cnt);
|
||||||
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue