media-tv/dvbstream: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2024-07-06 09:42:50 +02:00
committed by Arthur Zamarin
parent b72f9112c6
commit 4a539eb549
2 changed files with 0 additions and 38 deletions

View File

@@ -1,26 +0,0 @@
diff -ru dvbstream-orig/dvbstream.c dvbstream/dvbstream.c
--- dvbstream-orig/dvbstream.c 2008-05-16 18:23:03.023540289 +0200
+++ dvbstream/dvbstream.c 2008-05-16 18:25:32.293536581 +0200
@@ -929,6 +929,7 @@
if (argc==1) {
fprintf(stderr,"Usage: dvbtune [OPTIONS] pid1 pid2 ... pid8\n\n");
+ fprintf(stderr,"-tp TELNET port\n");
fprintf(stderr,"-i IP multicast address\n");
fprintf(stderr,"-r IP multicast port\n");
fprintf(stderr,"-net ip:prt IP address:port combination to be followed by pids list. Can be repeated to generate multiple RTP streams\n");
@@ -1079,6 +1080,12 @@
LOF2=atoi(argv[i]);
LOF2*=1000UL;
}
+#ifdef ENABLE_TELNET
+ else if (strcmp(argv[i],"-tp")==0) {
+ i++;
+ port=atoi(argv[i]);
+ }
+#endif
else if (strcmp(argv[i],"-s")==0) {
i++;
srate=atoi(argv[i])*1000UL;
Nur in dvbstream: dvbstream.c.orig.
Nur in dvbstream: dvbstream.c.rej.

View File

@@ -1,12 +0,0 @@
diff -ru dvbstream-20080302/dvbstream.c dvbstream/dvbstream.c
--- dvbstream-20080302/dvbstream.c 2007-09-14 23:02:39.000000000 +0200
+++ dvbstream/dvbstream.c 2008-03-24 19:28:16.000000000 +0100
@@ -817,6 +817,8 @@
return 0;
else if(af == 3)
l += buf[4] + 1;
+ if(l >= TS_SIZE - 4)
+ return 0;
if(pid == 0)
{