h264parse: correct parsing of "numberOfPictureParameterSets"
See #661113.
This commit is contained in:
parent
61a7e6bf38
commit
0a478db7dd
@ -1257,9 +1257,9 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
|
|||||||
off = nalu.offset + nalu.size;
|
off = nalu.offset + nalu.size;
|
||||||
}
|
}
|
||||||
|
|
||||||
num_pps = data[0];
|
num_pps = data[off];
|
||||||
data++;
|
off++;
|
||||||
size++;
|
|
||||||
for (i = 0; i < num_pps; i++) {
|
for (i = 0; i < num_pps; i++) {
|
||||||
parseres = gst_h264_parser_identify_nalu_avc (h264parse->nalparser,
|
parseres = gst_h264_parser_identify_nalu_avc (h264parse->nalparser,
|
||||||
data, off, size, 2, &nalu);
|
data, off, size, 2, &nalu);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user