summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtph263pdepay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtph263pdepay.c')
-rw-r--r--gst/rtp/gstrtph263pdepay.c4
1 files changed, 2 insertions, 2 deletions
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) {