[rtmpdump] [PATCH] Make rtmpgw handle full RTMP URLs with "-i"

NhJm nhjm449 at gmail.com
Fri Jul 20 03:11:10 CEST 2012


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, Jul 19, 2012 at 7:44 PM, compn <tempn at twmi.rr.com> wrote:

> On Thu, 19 Jul 2012 17:22:03 +0100, Bastien Nocera wrote:
> >+    case 'i':
> >+      STR2AVAL(req->fullUrl, optarg);
> >+      break;
> >     case 's':
> >       STR2AVAL(req->swfUrl, arg);
> >       break;
>
> i know rtmpdump uses optarg. is there any problem mixing optarg and
> arg here ?
>
> -compn
> _______________________________________________
> rtmpdump mailing list
> rtmpdump at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20120719/6698bc44/attachment.html>


More information about the rtmpdump mailing list