|
71 | 71 | #define PIECE_RATE 0x40 |
72 | 72 | #define SEAM_SPLICE 0x20 |
73 | 73 |
|
74 | | -static void p_to_t(u8 const *buf, long int length, u16 pid, |
| 74 | +static void p_to_t(u8 const *buf, long length, u16 pid, |
75 | 75 | u8 *counter, struct dvb_demux_feed *feed); |
76 | 76 | static int write_ts_to_decoder(struct av7110 *av7110, int type, const u8 *buf, size_t len); |
77 | 77 |
|
@@ -585,7 +585,7 @@ static void clear_p2t(struct av7110_p2t *p) |
585 | 585 | p->frags = 0; |
586 | 586 | } |
587 | 587 |
|
588 | | -static int find_pes_header(u8 const *buf, long int length, int *frags) |
| 588 | +static int find_pes_header(u8 const *buf, long length, int *frags) |
589 | 589 | { |
590 | 590 | int c = 0; |
591 | 591 | int found = 0; |
@@ -634,7 +634,7 @@ static int find_pes_header(u8 const *buf, long int length, int *frags) |
634 | 634 | return c; |
635 | 635 | } |
636 | 636 |
|
637 | | -void av7110_p2t_write(u8 const *buf, long int length, u16 pid, struct av7110_p2t *p) |
| 637 | +void av7110_p2t_write(u8 const *buf, long length, u16 pid, struct av7110_p2t *p) |
638 | 638 | { |
639 | 639 | int c, c2, l, add; |
640 | 640 | int check, rest; |
@@ -763,7 +763,7 @@ static int write_ts_header2(u16 pid, u8 *counter, int pes_start, u8 *buf, u8 len |
763 | 763 | return c; |
764 | 764 | } |
765 | 765 |
|
766 | | -static void p_to_t(u8 const *buf, long int length, u16 pid, u8 *counter, |
| 766 | +static void p_to_t(u8 const *buf, long length, u16 pid, u8 *counter, |
767 | 767 | struct dvb_demux_feed *feed) |
768 | 768 | { |
769 | 769 | int l, pes_start; |
@@ -1023,7 +1023,7 @@ static u8 iframe_header[] = { 0x00, 0x00, 0x01, 0xe0, 0x00, 0x00, 0x80, 0x00, 0x |
1023 | 1023 |
|
1024 | 1024 | static int play_iframe(struct av7110 *av7110, char __user *buf, unsigned int len, int nonblock) |
1025 | 1025 | { |
1026 | | - unsigned i, n; |
| 1026 | + unsigned int i, n; |
1027 | 1027 | int progressive = 0; |
1028 | 1028 | int match = 0; |
1029 | 1029 |
|
@@ -1090,7 +1090,7 @@ static int play_iframe(struct av7110 *av7110, char __user *buf, unsigned int len |
1090 | 1090 | #ifdef CONFIG_COMPAT |
1091 | 1091 | struct compat_video_still_picture { |
1092 | 1092 | compat_uptr_t iFrame; |
1093 | | - int32_t size; |
| 1093 | + s32 size; |
1094 | 1094 | }; |
1095 | 1095 |
|
1096 | 1096 | #define VIDEO_STILLPICTURE32 _IOW('o', 30, struct compat_video_still_picture) |
|
0 commit comments