mirror of
https://github.com/horgh/videostreamer.git
synced 2025-09-26 20:41:31 +08:00
Fix remux example to take correct main() params
Also add comments explaining the program and the videostreamer lib.
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
//
|
||||
// This program remuxes from a given RTSP input to an mp4 container.
|
||||
//
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <videostreamer.h>
|
||||
|
||||
int main(const int argc, const char * const argv)
|
||||
int main(const int argc, const char * const * const argv)
|
||||
{
|
||||
if (argc != 2) {
|
||||
printf("Usage: %s <rtsp URL>\n", argv[0]);
|
||||
printf("Usage: %s <RTSP URL>\n", argv[0]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user