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

Zhao Zhili quinkblack at foxmail.com
Fri Mar 22 19:40:42 EET 2024


> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Andreas Rheinhardt
> Sent: 2024年3月22日 21:03
> To: ffmpeg-devel at ffmpeg.org
> Cc: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> Subject: [FFmpeg-devel] [PATCH] avcodec/libx264: Remove unused variable
> 
> 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;

LGTM.

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



More information about the ffmpeg-devel mailing list