[FFmpeg-devel] [PATCH] avcodec/libx264: Remove unused variable

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Mar 22 15:02:32 EET 2024


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/libx264.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 2653941eb9..3d195fa6b6 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -867,7 +867,6 @@ static int save_sei(AVCodecContext *avctx, x264_nal_t *nal)
 #if CONFIG_LIBX264_ENCODER
 static int set_avcc_extradata(AVCodecContext *avctx, x264_nal_t *nal, int nnal)
 {
-    X264Context *x4 = avctx->priv_data;
     x264_nal_t *sps_nal = NULL;
     x264_nal_t *pps_nal = NULL;
     uint8_t *p, *sps;
-- 
2.40.1



More information about the ffmpeg-devel mailing list