From ab959d7b4194715870128e616b8e29d4a101e488 Mon Sep 17 00:00:00 2001 From: etobi Date: Tue, 3 Sep 2013 09:48:41 +0200 Subject: Imported Upstream version 1.1.1+rev1207 --- test/setpid.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'test/setpid.c') diff --git a/test/setpid.c b/test/setpid.c index fa0333c..a2d42cf 100644 --- a/test/setpid.c +++ b/test/setpid.c @@ -1,9 +1,10 @@ -/* - * Set video and audio PIDs in the demux; useful only if you have - * a hardware MPEG decoder and you're tuned to a transport stream. - * - * usage: DEMUX=/dev/dvb/adapterX/demuxX setpid video_pid audio_pid - */ +#define USAGE \ +"\n" \ +"\nSet video and audio PIDs in the demux; useful only if you have" \ +"\na hardware MPEG decoder and you're tuned to a transport stream." \ +"\n" \ +"\nusage: DEMUX=/dev/dvb/adapterX/demuxX setpid video_pid audio_pid" \ +"\n" #include #include @@ -69,7 +70,7 @@ int main (int argc, char **argv) int video_pid, audio_pid; if (argc != 3) { - printf ("\nusage: %s