Commit 1dbfef93 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

h264parse: Ensure codec_data has the required size when reading number of SPS
parent 4a021433
......@@ -2583,6 +2583,10 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
off = nalu.offset + nalu.size;
if (off >= size) {
gst_buffer_unmap (codec_data, &map);
goto avcc_too_small;
num_pps = data[off];
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