While you're at it, this is also probably wrong in ParseOption(opt, arg, req):
case 'C':
parseAMF(&req->extras, optarg, &req->edepth);
break;
optarg will definitely *not* be populated during a HTTP request!
On Thu, 19 Jul 2012 17:22:03 +0100, Bastien Nocera wrote:i know rtmpdump uses optarg. is there any problem mixing optarg and
>+ case 'i':
>+ STR2AVAL(req->fullUrl, optarg);
>+ break;
> case 's':
> STR2AVAL(req->swfUrl, arg);
> break;
arg here ?
-compn
_______________________________________________
rtmpdump mailing list
rtmpdump@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump