* [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; 2+ 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] 2+ 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
0 siblings, 0 replies; 2+ 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] 2+ messages in thread
end of thread, other threads:[~2026-01-09 22:28 UTC | newest]
Thread overview: 2+ 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
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