Commit fd030c15 authored by Peter Seiderer's avatar Peter Seiderer Committed by Mark Nauwelaerts

gsth264parser: fix Coverity found not initialized sps/pps valid member.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683264
parent 8a91eed6
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment