aboutsummaryrefslogtreecommitdiff
path: root/gst/videoparsers/gsth265parse.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-06-28 12:00:27 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-06-28 12:00:27 +0200
commit06cb1e42187d9a6b2ab00a4703ac37fbcf3184a4 (patch)
tree0ff6d65db2e29263338e20cf299d1c38f79b800d /gst/videoparsers/gsth265parse.c
parent1491e0386faa0ed4d5b2b072c84651b90a2fccd6 (diff)
Imported Upstream version 1.3.90upstream/1.3.90
Diffstat (limited to 'gst/videoparsers/gsth265parse.c')
-rw-r--r--gst/videoparsers/gsth265parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c
index d2e828d0..caf46169 100644
--- a/gst/videoparsers/gsth265parse.c
+++ b/gst/videoparsers/gsth265parse.c
@@ -1767,7 +1767,7 @@ gst_h265_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
size = map.size;
/* parse the hvcC data */
- if (size < 28) {
+ if (size < 23) {
gst_buffer_unmap (codec_data, &map);
goto hvcc_too_small;
}
@@ -1854,7 +1854,7 @@ gst_h265_parse_set_caps (GstBaseParse * parse, GstCaps * caps)
/* ERRORS */
hvcc_too_small:
{
- GST_DEBUG_OBJECT (h265parse, "hvcC size %" G_GSIZE_FORMAT " < 8", size);
+ GST_DEBUG_OBJECT (h265parse, "hvcC size %" G_GSIZE_FORMAT " < 23", size);
goto refuse_caps;
}
wrong_version: