Reproducible using 'dvbscan -out raw - some_file'

Bug-Debian: http://bugs.debian.org/606728

Signed-off-by: Jonathan McCrohan <[email protected]>
---
 util/dvbscan/dvbscan.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util/dvbscan/dvbscan.c b/util/dvbscan/dvbscan.c
index f23411f..462c275 100644
--- a/util/dvbscan/dvbscan.c
+++ b/util/dvbscan/dvbscan.c
@@ -198,6 +198,7 @@ int main(int argc, char *argv[])
                } else if (!strcmp(argv[argpos], "-out")) {
                        if ((argc - argpos) < 3)
                                usage();
+                               argpos+=3;
                } else {
                        if ((argc - argpos) != 1)
                                usage();
-- 
1.9.2


_______________________________________________
pkg-vdr-dvb-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-vdr-dvb-devel

Reply via email to