mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
gsth264parser: fix Coverity found not initialized sps/pps valid member.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683264
This commit is contained in:
parent
8a91eed6ad
commit
fd030c15b7
1 changed files with 2 additions and 1 deletions
|
@ -1589,7 +1589,7 @@ gst_h264_parse_sps (GstH264NalUnit * nalu, GstH264SPS * sps,
|
|||
|
||||
error:
|
||||
GST_WARNING ("error parsing \"Sequence parameter set\"");
|
||||
|
||||
sps->valid = FALSE;
|
||||
return GST_H264_PARSER_ERROR;
|
||||
}
|
||||
|
||||
|
@ -1719,6 +1719,7 @@ done:
|
|||
|
||||
error:
|
||||
GST_WARNING ("error parsing \"Picture parameter set\"");
|
||||
pps->valid = FALSE;
|
||||
return GST_H264_PARSER_ERROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue