From: Michael Niedermayer <michael@niedermayer.cc>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] avutil/opt: add missing case for AV_OPT_TYPE_CHLAYOUT in av_opt_free()
Date: Sun, 20 Mar 2022 12:29:04 +0100
Message-ID: <20220320112904.GA1006142@pb2> (raw)
In-Reply-To: <20220318220018.49285410427@natalya.videolan.org>
[-- Attachment #1.1: Type: text/plain, Size: 4419 bytes --]
On Fri, Mar 18, 2022 at 10:00:17PM +0000, James Almer wrote:
> ffmpeg | branch: master | James Almer <jamrial@gmail.com> | Fri Mar 18 18:46:40 2022 -0300| [327efa66331ebdc0087c6b656059a8df2f404019] | committer: James Almer
>
> avutil/opt: add missing case for AV_OPT_TYPE_CHLAYOUT in av_opt_free()
>
> Fixes potential memleaks for existing options of this type.
>
> Signed-off-by: James Almer <jamrial@gmail.com>
>
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=327efa66331ebdc0087c6b656059a8df2f404019
> ---
>
> libavutil/opt.c | 4 ++++
> 1 file changed, 4 insertions(+)
this removes most timestamps from
libavformat/tests/seek ~/tickets/1605/08.rm -frames 10
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.023000 pts: 0.023000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.046000 pts: 0.046000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.069000 pts: 0.069000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.092000 pts: 0.092000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.115000 pts: 0.115000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.138000 pts: 0.138000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.161000 pts: 0.161000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.184000 pts: 0.184000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.207000 pts: 0.207000 pos: -1 size: 32
ret: 0 st:-1 flags:0 ts:-1.000000
ret: 0 st: 0 flags:1 dts: NOPTS pts: NOPTS pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: NOPTS pts: NOPTS pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: NOPTS pts: NOPTS pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: NOPTS pts: NOPTS pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: NOPTS pts: NOPTS pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: NOPTS pts: NOPTS pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: NOPTS pts: NOPTS pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: NOPTS pts: NOPTS pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: NOPTS pts: NOPTS pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: NOPTS pts: NOPTS pos: -1 size: 32
...
vs.
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.023000 pts: 0.023000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.046000 pts: 0.046000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.069000 pts: 0.069000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.092000 pts: 0.092000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.115000 pts: 0.115000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.138000 pts: 0.138000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.161000 pts: 0.161000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.184000 pts: 0.184000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.207000 pts: 0.207000 pos: -1 size: 32
ret: 0 st:-1 flags:0 ts:-1.000000
ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.023000 pts: 0.023000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.046000 pts: 0.046000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.069000 pts: 0.069000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.092000 pts: 0.092000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.115000 pts: 0.115000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.138000 pts: 0.138000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.161000 pts: 0.161000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.184000 pts: 0.184000 pos: -1 size: 32
ret: 0 st: 0 flags:1 dts: 0.207000 pts: 0.207000 pos: -1 size: 32
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
"You are 36 times more likely to die in a bathtub than at the hands of a
terrorist. Also, you are 2.5 times more likely to become a president and
2 times more likely to become an astronaut, than to die in a terrorist
attack." -- Thoughty2
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 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 parent reply other threads:[~2022-03-20 11:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20220318220018.49285410427@natalya.videolan.org>
2022-03-20 11:29 ` Michael Niedermayer [this message]
2022-03-20 17:04 ` James Almer
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=20220320112904.GA1006142@pb2 \
--to=michael@niedermayer.cc \
--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