[FFmpeg-devel] [PATCH 2/3] avcodec/hevc/sei: remove unused inline function

James Almer jamrial at gmail.com
Tue Nov 12 19:22:43 EET 2024


It's also a pointless indirection.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/hevc/sei.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libavcodec/hevc/sei.h b/libavcodec/hevc/sei.h
index 806540fac6..ee640003bc 100644
--- a/libavcodec/hevc/sei.h
+++ b/libavcodec/hevc/sei.h
@@ -109,11 +109,6 @@ struct HEVCParamSets;
 int ff_hevc_decode_nal_sei(GetBitContext *gb, void *logctx, HEVCSEI *s,
                            const struct HEVCParamSets *ps, enum HEVCNALUnitType type);
 
-static inline int ff_hevc_sei_ctx_replace(HEVCSEI *dst, const HEVCSEI *src)
-{
-    return ff_h2645_sei_ctx_replace(&dst->common, &src->common);
-}
-
 /**
  * Reset SEI values that are stored on the Context.
  * e.g. Caption data that was extracted during NAL
-- 
2.47.0



More information about the ffmpeg-devel mailing list