gstreamer/gst/rtp
Luis de Bethencourt 20dc27f983 rtp: fix dead code and check for impossible values
nal_type is the index for a GstH265NalUnitType enum. There are two types of dead
code here:
First, after checking if nal_type is >= 39 there are two OR conditionals that
check if the value is in ranges higher than that number, so if nal_type >= 39
falls in the True branch those other conditions aren't checked and if it falls
in the False branch and they are checked, they will always also be False. They
are redundant.
Second, the enum has a range of 0 to 40. So the checks for ranges higher than 41
should never be True.
Removing this redundant checks.

CID 1249684
2015-01-08 13:58:13 +00:00
..
gstrtp.c rtp: add h265 RTP payloader + depayloader 2014-10-17 10:40:24 +02:00
gstrtph265depay.c rtp: fix dead code and check for impossible values 2015-01-08 13:58:13 +00:00
gstrtph265depay.h rtp: add h265 RTP payloader + depayloader 2014-10-17 10:40:24 +02:00
gstrtph265pay.c rtp: add h265 RTP payloader + depayloader 2014-10-17 10:40:24 +02:00
gstrtph265pay.h rtp: add h265 RTP payloader + depayloader 2014-10-17 10:40:24 +02:00
Makefile.am rtpbad: Fix make dist by removing non-existing file from EXTRA_DIST 2014-10-19 13:44:38 +02:00