Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Soft Works <softworkz-at-hotmail.com@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] avformat/hls: fix typo There is an extra space in the original comment
Date: Mon, 10 Feb 2025 01:36:57 +0000
Message-ID: <DM8P223MB03654CDEDE5EE642FAB765DBBAF22@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <9AF64C0B-FBE2-4F93-83C4-040AFED59073@gmail.com>



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of
> Jack Lau
> Sent: Monday, February 10, 2025 2:13 AM
> To: FFmpeg development discussions and patches <ffmpeg-
> devel@ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] avformat/hls: fix typo There is
> an extra space in the original comment
> 
> > On Feb 10, 2025, at 08:54, Soft Works <softworkz-at-
> hotmail.com@ffmpeg.org> wrote:
> >
> >
> >
> >> -----Original Message-----
> >> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org
> <mailto:ffmpeg-devel-bounces@ffmpeg.org>> On Behalf Of
> >> Jack Lau via ffmpeg-devel
> >> Sent: Monday, February 10, 2025 1:34 AM
> >> To: ffmpeg-devel@ffmpeg.org <mailto:ffmpeg-devel@ffmpeg.org>
> >> Cc: Jack Lau <jacklau1222@qq.com <mailto:jacklau1222@qq.com>>
> >> Subject: [FFmpeg-devel] [PATCH] avformat/hls: fix typo There is an
> >> extra space in the original comment
> >>
> >> ---
> >> libavformat/hls.c | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/libavformat/hls.c b/libavformat/hls.c
> >> index 3bdc1bc848..c2130bb883 100644
> >> --- a/libavformat/hls.c
> >> +++ b/libavformat/hls.c
> >> @@ -1993,7 +1993,7 @@ static int hls_read_header(AVFormatContext
> *s)
> >>         return ret;
> >>
> >>     /* XXX: Some HLS servers don't like being sent the range
> header,
> >> -       in this case, need to  setting http_seekable = 0 to
> disable
> >> +       in this case, need to setting http_seekable = 0 to disable
> >>        the range header */
> >>     av_dict_set_int(&c->avio_opts, "seekable", c->http_seekable,
> 0);
> >>
> >> --
> >> 2.48.1
> >
> > Hi Jack,
> >
> > you're not working on a proof of concept regarding the
> vulnerability of the GA, right?
> > (just kidding)
> >
> > As an idea, you might be able to give that patch a little bit more
> meaning by also fixing the grammar.
> >
> > Best wishes
> > sw
> > _______________________________________________


> 
> Hi,
> 
> Thanks for your reply.
> 
> I'm trying to fix some issues with hls. I happened to see this typo.
> Since I saw in the ffmpeg documentation that cosmetic changes should
> be kept in separate patches, so i submitted it first.
> 
> Thank you for your advice, I will try my best to submit more
> important patches.
> 
> Best wishes
> Jack

Hi,

please do not top-post (ask AI if you don't know what it is). It's a rule here, probably because in those plaintext messages without formatting it's hard to follow when some are replying at the top and some at the bottom.

Cosmetic changes should be in a separate commit but they can be in the same patchset.

Personally, I don't think it's unimportant to fix whitespace, spelling and formatting issues. There's value in everything that improves the code, but you also need to consider efficiency and think about the time that gets bound for others dealing with a single-char non-functional change. 
If I would make such commit(s), then I would go through a large number of code files (like all from a lib) looking for similar issues and include all of them in my patch, so that a reviewer/maintainer sees that I have really spent effort on it, and they feel that the given value is worth their time.

Best
sw



_______________________________________________
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".

  reply	other threads:[~2025-02-10  1:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-10  0:33 Jack Lau via ffmpeg-devel
2025-02-10  0:54 ` Soft Works
2025-02-10  1:12   ` Jack Lau
2025-02-10  1:36     ` Soft Works [this message]
2025-02-10  1:46       ` Jack Lau
2025-02-10  3:08         ` Marth64
2025-02-10  3:33           ` Jack Lau

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=DM8P223MB03654CDEDE5EE642FAB765DBBAF22@DM8P223MB0365.NAMP223.PROD.OUTLOOK.COM \
    --to=softworkz-at-hotmail.com@ffmpeg.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