From: Nicolas George <george@nsup.org> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: "wangqinghua \(I\)" <wangqinghua9@huawei.com> Subject: Re: [FFmpeg-devel] 答复: [PATCH] fftools/ffmpeg_ffplay_ffprobe_cmdutils: add -mask_url to replace the protocol address in the command with the asterisk (*) Date: Thu, 22 Dec 2022 20:27:16 +0100 Message-ID: <Y6SvlCwjQjAibklb@phare.normalesup.org> (raw) In-Reply-To: <8870f5f386ee4042a8aa0303ace8c51f@huawei.com> [-- Attachment #1.1: Type: text/plain, Size: 735 bytes --] Wujian(Chin) (12022-12-20): > I think that it's more concise to use code this way. Concision is not the goal here, maintainability is. Please do not use gotos. > I think that it would be better to replace the entire url, so that the code implementation is simple. Then replace the whole command line, it is even simpler. Also, this way you miss credentials passed through options. > >> + argv2 = av_mallocz(argc * sizeof(char *)); > > >sizeof(*argv2) Youhoud? > This option needs to replace the URL. It is more appropriate to judge > mask_url and copy argv in this place. Otherwise, do you have any > other suggestions? Use the normal options parsing system. Regards, -- Nicolas George [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] [-- Attachment #2: Type: text/plain, Size: 251 bytes --] _______________________________________________ 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-12-22 19:27 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-12-19 13:15 [FFmpeg-devel] " Wujian(Chin) 2022-12-19 13:30 ` Nicolas George 2022-12-19 13:37 ` Gyan Doshi 2022-12-19 13:44 ` Nicolas George 2022-12-20 11:42 ` [FFmpeg-devel] 答复: " Wujian(Chin) 2022-12-22 19:27 ` Nicolas George [this message] 2022-12-24 8:51 ` [FFmpeg-devel] 答复: " Wujian(Chin) 2022-12-24 8:59 ` Nicolas George 2022-12-19 13:33 ` [FFmpeg-devel] " Marvin Scholz 2022-12-19 13:37 ` Nicolas George 2022-12-19 13:40 ` Marvin Scholz 2022-12-19 13:45 ` Nicolas George 2022-12-20 11:56 ` [FFmpeg-devel] 答复: " Wujian(Chin) 2022-12-19 14:51 ` [FFmpeg-devel] " "zhilizhao(赵志立)" 2022-12-22 23:14 ` Marton Balint 2022-12-21 10:10 [FFmpeg-devel] [PATCH] fftools/ffmpeg_ffplay_ffprobe_cmdutils:add " Wujian(Chin) 2022-12-22 19:28 ` Nicolas George 2022-12-23 7:14 ` [FFmpeg-devel] 答复: " Wujian(Chin) 2022-12-23 9:13 ` Nicolas George 2022-12-23 11:04 ` [FFmpeg-devel] 答复: " Wujian(Chin) 2022-12-23 11:06 ` Nicolas George 2022-12-26 13:07 [FFmpeg-devel] [PATCH] fftools/ffmpeg_ffplay_ffprobe_cmdutils: add " Wujian(Chin) 2022-12-26 13:21 ` Nicolas George 2022-12-27 19:49 ` Michael Niedermayer 2022-12-28 3:20 ` [FFmpeg-devel] 答复: " Wujian(Chin) 2022-12-28 8:04 ` Wujian(Chin) 2023-01-03 11:05 [FFmpeg-devel] " Wujian(Chin) 2023-01-03 12:31 ` Nicolas George
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=Y6SvlCwjQjAibklb@phare.normalesup.org \ --to=george@nsup.org \ --cc=ffmpeg-devel@ffmpeg.org \ --cc=wangqinghua9@huawei.com \ /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