summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-core/dvb_demux.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2017-09-20 00:57:54 +0200
committerMauro Carvalho Chehab2017-10-11 19:10:59 +0200
commit2c53275c1edafdb1c404071940de0a7de47c0bbb (patch)
tree3c643eac63c2647659ecdb5f58c3e15448ab3411 /drivers/media/dvb-core/dvb_demux.h
parentmedia: dvb_demux: mark a boolean field as such (diff)
downloadkernel-qcow2-linux-2c53275c1edafdb1c404071940de0a7de47c0bbb.tar.gz
kernel-qcow2-linux-2c53275c1edafdb1c404071940de0a7de47c0bbb.tar.xz
kernel-qcow2-linux-2c53275c1edafdb1c404071940de0a7de47c0bbb.zip
media: dvb_demux: dvb_demux_feed.pusi_seen is boolean
Instead of using an integer to represent it, use boolean, as this better describes what this field really means. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_demux.h')
-rw-r--r--drivers/media/dvb-core/dvb_demux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-core/dvb_demux.h b/drivers/media/dvb-core/dvb_demux.h
index 700887938145..9db3c2b7c64e 100644
--- a/drivers/media/dvb-core/dvb_demux.h
+++ b/drivers/media/dvb-core/dvb_demux.h
@@ -101,7 +101,7 @@ struct dvb_demux_feed {
enum dmx_ts_pes pes_type;
int cc;
- int pusi_seen; /* prevents feeding of garbage from previous section */
+ bool pusi_seen; /* prevents feeding of garbage from previous section */
u16 peslen;