From 3cb47855e64da9b1b3bea958fbc32ab08856721b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 19 Aug 2005 14:51:20 +0000 Subject: gst/rtp/: Some cleanups in the h263p (de)payloaders. Original commit message from CVS: * gst/rtp/gstrtph263pdec.c: (gst_rtph263pdec_init), (gst_rtph263pdec_chain): * gst/rtp/gstrtph263penc.c: (gst_rtph263penc_class_init), (gst_rtph263penc_flush), (gst_rtph263penc_chain): Some cleanups in the h263p (de)payloaders. --- gst/rtp/gstrtph263pdepay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/rtp/gstrtph263pdepay.c') diff --git a/gst/rtp/gstrtph263pdepay.c b/gst/rtp/gstrtph263pdepay.c index 5061402d..1ffc30e6 100644 --- a/gst/rtp/gstrtph263pdepay.c +++ b/gst/rtp/gstrtph263pdepay.c @@ -175,8 +175,8 @@ gst_rtph263pdec_chain (GstPad * pad, GstBuffer * buf) header_len = 2; M = gst_rtpbuffer_get_marker (buf); - P = payload[0] & 0x04 ? TRUE : FALSE; - V = payload[0] & 0x02 ? TRUE : FALSE; + P = (payload[0] & 0x04) == 0x04; + V = (payload[0] & 0x02) == 0x02; PLEN = ((payload[0] & 0x1) << 5) | (payload[1] >> 3); if (V) { -- cgit