Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] avcodec/get_bits: mark unused VLC parameters
@ 2026-01-09 22:24 Soham via ffmpeg-devel
  2026-01-09 22:24 ` Soham via ffmpeg-devel
  0 siblings, 1 reply; 3+ messages in thread
From: Soham via ffmpeg-devel @ 2026-01-09 22:24 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Soham


Hi,

This patch marks unused parameters in get_vlc_multi() to fix
-Wunused-parameter warnings when building with -Wall/-Wextra.

No functional changes intended.

Thanks,
Soham
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [FFmpeg-devel] [PATCH] avcodec/get_bits: mark unused VLC parameters
  2026-01-09 22:24 [FFmpeg-devel] [PATCH] avcodec/get_bits: mark unused VLC parameters Soham via ffmpeg-devel
@ 2026-01-09 22:24 ` Soham via ffmpeg-devel
  2026-01-12 13:03   ` [FFmpeg-devel] " Michael Niedermayer via ffmpeg-devel
  0 siblings, 1 reply; 3+ messages in thread
From: Soham via ffmpeg-devel @ 2026-01-09 22:24 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Soham

---
 libavcodec/get_bits.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h
index a0c0f51276..a22c9755ae 100644
--- a/libavcodec/get_bits.h
+++ b/libavcodec/get_bits.h
@@ -664,10 +664,10 @@ static av_always_inline int get_vlc2(GetBitContext *s, const VLCElem *table,
 }
 
 static inline int get_vlc_multi(GetBitContext *s, uint8_t *dst,
-                                const VLC_MULTI_ELEM *const Jtable,
+                                av_unused const VLC_MULTI_ELEM *const Jtable,
                                 const VLCElem *const table,
                                 const int bits, const int max_depth,
-                                const int symbols_size)
+                                av_unused const int symbols_size)
 {
     dst[0] = get_vlc2(s, table, bits, max_depth);
     return 1;
-- 
2.47.3

_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [FFmpeg-devel] Re: [PATCH] avcodec/get_bits: mark unused VLC parameters
  2026-01-09 22:24 ` Soham via ffmpeg-devel
@ 2026-01-12 13:03   ` Michael Niedermayer via ffmpeg-devel
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Niedermayer via ffmpeg-devel @ 2026-01-12 13:03 UTC (permalink / raw)
  To: FFmpeg development discussions and patches; +Cc: Michael Niedermayer


[-- Attachment #1.1: Type: text/plain, Size: 1226 bytes --]

On Sat, Jan 10, 2026 at 03:54:54AM +0530, Soham via ffmpeg-devel wrote:
> ---
>  libavcodec/get_bits.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h
> index a0c0f51276..a22c9755ae 100644
> --- a/libavcodec/get_bits.h
> +++ b/libavcodec/get_bits.h
> @@ -664,10 +664,10 @@ static av_always_inline int get_vlc2(GetBitContext *s, const VLCElem *table,
>  }
>  
>  static inline int get_vlc_multi(GetBitContext *s, uint8_t *dst,
> -                                const VLC_MULTI_ELEM *const Jtable,
> +                                av_unused const VLC_MULTI_ELEM *const Jtable,
>                                  const VLCElem *const table,
>                                  const int bits, const int max_depth,
> -                                const int symbols_size)
> +                                av_unused const int symbols_size)
>  {

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Homeopathy is like voting while filling the ballot out with transparent ink.
Sometimes the outcome one wanted occurs. Rarely its worse than filling out
a ballot properly.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 163 bytes --]

_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-12 13:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-09 22:24 [FFmpeg-devel] [PATCH] avcodec/get_bits: mark unused VLC parameters Soham via ffmpeg-devel
2026-01-09 22:24 ` Soham via ffmpeg-devel
2026-01-12 13:03   ` [FFmpeg-devel] " Michael Niedermayer via ffmpeg-devel

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