projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43677cc
)
utils/dvb: Whitespacing cleanup
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 28 Dec 2011 23:08:32 +0000
(20:08 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 7 Jan 2012 13:12:12 +0000
(11:12 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
utils/dvb/util.c
patch
|
blob
|
history
diff --git
a/utils/dvb/util.c
b/utils/dvb/util.c
index
4c20615
..
0427ae5
100644
(file)
--- a/
utils/dvb/util.c
+++ b/
utils/dvb/util.c
@@
-100,14
+100,14
@@
int get_pmt_pid(char *dmxdev, int sid)
close(patfd);
return -1;
}
-
+
section_length = ((buf[1] & 0x0f) << 8) | buf[2];
if (count != section_length + 3)
continue;
-
+
buf += 8;
section_length -= 8;
-
+
patread = 1; /* assumes one section contains the whole pat */
while (section_length > 0) {
int service_id = (buf[0] << 8) | buf[1];