libdvbv5: FIx check for available adaptation field
authorGregor Jasny <gjasny@googlemail.com>
Wed, 23 Apr 2014 06:43:09 +0000 (08:43 +0200)
committerGregor Jasny <gjasny@googlemail.com>
Wed, 23 Apr 2014 06:43:09 +0000 (08:43 +0200)
commitb34799dd37e72b1151cd16f9df46bf54a28fb74d
tree92996d124b3e4718aafb7cf0f96f23b837299ae7
parent056eaf051f90a831e144de6420f81f2548d87fd3
libdvbv5: FIx check for available adaptation field

The field is only a single bit wide, so applying a the
0x2 mask will never be true.

Detected by Coverity.

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
CC: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/libdvbv5/tables/mpeg_ts.c