From: Tristan Matthews <tmatth@videolan.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH 1/1] librtmp: make flashVer case consistent
Date: Mon, 11 Apr 2022 11:48:55 -0400
Message-ID: <CAN8HRDngypNxK_vdRCoXSPG1FbtM643QZBxBdgymduYt8CgfCg@mail.gmail.com> (raw)
In-Reply-To: <ea716160-993a-573c-7aaf-b181cdb5a5cd@passwd.hu>
On Sat, Apr 9, 2022 at 2:45 PM Marton Balint <cus@passwd.hu> wrote:
>
>
> On Wed, 6 Apr 2022, Tristan Matthews wrote:
>
> > This is basically a cosmetic change (no functional difference).
> >
> > ---
> > libavformat/librtmp.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
> > index 43013e46e0..b23adb9593 100644
> > --- a/libavformat/librtmp.c
> > +++ b/libavformat/librtmp.c
> > @@ -115,7 +115,7 @@ static int rtmp_open(URLContext *s, const char *uri,
> int flags)
> > if (ctx->app) len += strlen(ctx->app) + sizeof(" app=");
> > if (ctx->tcurl) len += strlen(ctx->tcurl) + sizeof(" tcUrl=");
> > if (ctx->pageurl) len += strlen(ctx->pageurl) + sizeof("
> pageUrl=");
> > - if (ctx->flashver) len += strlen(ctx->flashver) + sizeof("
> flashver=");
> > + if (ctx->flashver) len += strlen(ctx->flashver) + sizeof("
> flashVer=");
>
> Actually this whole rtmp_open function should be reworked to use an
> AVBPrint buffer to generate the rtmp URL. The way it works now -
> calculating the length first then creating the actual sting - is
> very ugly.
>
>
Oh yeah good call, I will follow up with that instead.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2022-04-11 15:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 5:11 Tristan Matthews
2022-04-09 18:45 ` Marton Balint
2022-04-11 15:48 ` Tristan Matthews [this message]
2022-04-11 15:49 ` [FFmpeg-devel] [PATCH 1/1] librtmp: use AVBPrint instead of char * Tristan Matthews
2022-04-13 8:52 ` Martin Storsjö
2022-04-13 19:39 ` Marton Balint
2022-04-13 20:02 ` Martin Storsjö
2022-04-15 11:51 ` Tristan Matthews
2022-04-15 11:53 ` Tristan Matthews
2022-04-16 20:06 ` Martin Storsjö
2022-04-18 22:06 ` Marton Balint
2022-04-19 20:22 ` Martin Storsjö
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAN8HRDngypNxK_vdRCoXSPG1FbtM643QZBxBdgymduYt8CgfCg@mail.gmail.com \
--to=tmatth@videolan.org \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git