This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new ecfabc25c2 avcodec/get_bits: mark unused VLC parameters
ecfabc25c2 is described below
commit ecfabc25c2a492065914fd3ef02314bd717e4b35
Author: Soham <[email protected]>
AuthorDate: Sat Jan 10 03:54:54 2026 +0530
Commit: Michael Niedermayer <[email protected]>
CommitDate: Mon Jan 12 14:03:25 2026 +0100
avcodec/get_bits: mark unused VLC parameters
This commit marks unused parameters in get_vlc_multi() to fix
-Wunused-parameter warnings when building with -Wall/-Wextra.
No functional changes intended.
Signed-off-by: Michael Niedermayer <[email protected]>
---
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;
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]