mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
h264parse: frame->buffer can't be NULL in pre_push_frame()
CID 1402118
This commit is contained in:
parent
08219f3665
commit
8f8c5e25fa
1 changed files with 1 additions and 2 deletions
|
@ -2391,8 +2391,7 @@ gst_h264_parse_pre_push_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
|
||||
/* In case of byte-stream, insert au delimeter by default
|
||||
* if it doesn't exist */
|
||||
if (frame->buffer != NULL && h264parse->aud_insert
|
||||
&& h264parse->format == GST_H264_PARSE_FORMAT_BYTE) {
|
||||
if (h264parse->aud_insert && h264parse->format == GST_H264_PARSE_FORMAT_BYTE) {
|
||||
if (h264parse->align == GST_H264_PARSE_ALIGN_AU) {
|
||||
GstMemory *mem =
|
||||
gst_memory_new_wrapped (GST_MEMORY_FLAG_READONLY, (guint8 *) au_delim,
|
||||
|
|
Loading…
Reference in a new issue