diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2005-08-19 14:51:20 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2005-08-19 14:51:20 +0000 |
commit | 3cb47855e64da9b1b3bea958fbc32ab08856721b (patch) | |
tree | 2fb8f74ece1b434469971f3ed29eac8d6026293b /gst/rtp/gstrtph263pdepay.c | |
parent | d00cee4a22fbd07f82d02fa0159682d8289798d3 (diff) |
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.
Diffstat (limited to 'gst/rtp/gstrtph263pdepay.c')
-rw-r--r-- | gst/rtp/gstrtph263pdepay.c | 4 |
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) { |