rtph26xpay: Remove unused IS_ACCESS_UNIT macro
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 14 Dec 2018 20:51:51 +0000 (15:51 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 18 Dec 2018 18:39:46 +0000 (13:39 -0500)
This macro is not longer used. It was secretly checking if that nal was
a slice, and confusingly name to that one may think it was checking if
the nal is an AUD.

gst/rtp/gstrtph264pay.c
gst/rtp/gstrtph265pay.c

index 81a94f7..260cbf6 100644 (file)
@@ -77,8 +77,6 @@ enum
   PROP_CONFIG_INTERVAL
 };
 
-#define IS_ACCESS_UNIT(x) (((x) > 0x00) && ((x) < 0x06))
-
 static void gst_rtp_h264_pay_finalize (GObject * object);
 
 static void gst_rtp_h264_pay_set_property (GObject * object, guint prop_id,
index 0cf94ee..4622c04 100644 (file)
@@ -109,8 +109,6 @@ enum
   PROP_CONFIG_INTERVAL
 };
 
-#define IS_ACCESS_UNIT(x) (((x) >= 0x00) && ((x) < 0x20))
-
 static void gst_rtp_h265_pay_finalize (GObject * object);
 
 static void gst_rtp_h265_pay_set_property (GObject * object, guint prop_id,