diff mbox series

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

Message ID GV1P250MB07372F0DF0E9E7427291463B8F312@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 6ecc2f0f6f5011946b5dd9724eaeaf56b224b478
Headers show
Series [FFmpeg-devel] avcodec/libx264: Remove unused variable | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt March 22, 2024, 1:02 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/libx264.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Zhao Zhili March 22, 2024, 5:40 p.m. UTC | #1
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of Andreas Rheinhardt
> Sent: 2024年3月22日 21:03
> To: ffmpeg-devel@ffmpeg.org
> Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> Subject: [FFmpeg-devel] [PATCH] avcodec/libx264: Remove unused variable
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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;

LGTM.

> --
> 2.40.1
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff mbox series

Patch

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;