[Bug 740673] codecparsers: some compiler warnings with apple-gcc42
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Nov 25 01:29:49 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=740673
GStreamer | gst-plugins-bad | git
Sebastian Dröge (slomo) <slomo> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #291436|none |needs-work
status| |
--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-11-25 09:29:42 UTC ---
Review of attachment 291436:
--> (https://bugzilla.gnome.org/review?bug=740673&attachment=291436)
I think this is not correct
::: gst-libs/gst/codecparsers/gsth265parser.c
@@ -1486,2 @@
READ_UE_ALLOWED (&nr, vps->num_hrd_parameters, 0, 1024);
- CHECK_ALLOWED (vps->num_hrd_parameters, 0, 1);
This checks here that the value is 0 or 1... and you remove the check
@@ -1489,3 @@
if (vps->num_hrd_parameters) {
READ_UE_ALLOWED (&nr, vps->hrd_layer_set_idx, 0, 1023);
- CHECK_ALLOWED (vps->hrd_layer_set_idx, 0, 0);
This checks if the value is 0 and only allows 0
@@ -2015,3 @@
READ_UINT16 (&nr, slice->pic_order_cnt_lsb,
(sps->log2_max_pic_order_cnt_lsb_minus4 + 4));
- CHECK_ALLOWED (slice->pic_order_cnt_lsb, 0, G_MAXUINT16);
This one is indeed useless
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list