Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
To: ffmpegagent <ffmpegagent@gmail.com>, ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 0/4] Get bits buffer end
Date: Mon, 7 Jul 2025 13:16:46 +0200
Message-ID: <AS8P250MB0744A9A363A6A0F0A188A10B8F4FA@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <pull.106.ffstaging.FFmpeg.1751636697.ffmpegagent@gmail.com>

ffmpegagent:
> This patchset eliminates GetBitContext.buffer_end (which is mostly unused).
> It therefore automatically fixes the UB that happens upon init_get_bits()
> failure (when using pre-C23).
> 
> Andreas Rheinhardt (4):
>   avcodec/bytestream: Add const where appropriate
>   avcodec/vvc/dec: Don't use GetBit-API when byte-aligned
>   avcodec/get_bits: Add get_bits_bytesize()
>   avcodec/get_bits: Remove GetBitContext.buffer_end
> 
>  libavcodec/bitstream.h          |  2 ++
>  libavcodec/bitstream_template.h |  8 ++++++++
>  libavcodec/bytestream.h         | 16 ++++++++--------
>  libavcodec/get_bits.h           | 21 ++++++++++++++++-----
>  libavcodec/h263dec.c            |  7 ++++---
>  libavcodec/h264_ps.c            |  4 ++--
>  libavcodec/hevc/hevcdec.c       |  2 +-
>  libavcodec/hevc/ps.c            |  6 +++---
>  libavcodec/mpeg12dec.c          |  5 +++--
>  libavcodec/vvc/dec.c            | 29 ++++++++++++++++-------------
>  10 files changed, 63 insertions(+), 37 deletions(-)
> 
> 
> base-commit: 0fe9f25e76163613505f77a8036dc62524070f0a
> Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-106%2Fmkver%2FGetBits_buffer_end-v1
> Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-106/mkver/GetBits_buffer_end-v1
> Pull-Request: https://github.com/ffstaging/FFmpeg/pull/106

Will apply this patchset tonight unless there are objections.

- Andreas

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

      parent reply	other threads:[~2025-07-07 11:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-04 13:44 ffmpegagent
2025-07-04 13:44 ` [FFmpeg-devel] [PATCH 1/4] avcodec/bytestream: Add const where appropriate Andreas Rheinhardt
2025-07-04 13:44 ` [FFmpeg-devel] [PATCH 2/4] avcodec/vvc/dec: Don't use GetBit-API when byte-aligned Andreas Rheinhardt
2025-07-06  2:27   ` Nuo Mi
2025-07-04 13:44 ` [FFmpeg-devel] [PATCH 3/4] avcodec/get_bits: Add get_bits_bytesize() Andreas Rheinhardt
2025-07-04 13:44 ` [FFmpeg-devel] [PATCH 4/4] avcodec/get_bits: Remove GetBitContext.buffer_end Andreas Rheinhardt
2025-07-07 11:16 ` Andreas Rheinhardt [this message]

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=AS8P250MB0744A9A363A6A0F0A188A10B8F4FA@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM \
    --to=andreas.rheinhardt@outlook.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    --cc=ffmpegagent@gmail.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