From 651f3aa7f911d897270ee687128d464bddb7883a Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 6 Apr 2024 14:15:53 +0200 Subject: [PATCH] avcodec/h264dec: Remove unused coded_picture_number Signed-off-by: Andreas Rheinhardt --- libavcodec/h264_slice.c | 1 - libavcodec/h264dec.h | 1 - 2 files changed, 2 deletions(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index a346839902..90d37f6084 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -388,7 +388,6 @@ int ff_h264_update_thread_context(AVCodecContext *dst, h->width_from_caller = h1->width_from_caller; h->height_from_caller = h1->height_from_caller; - h->coded_picture_number = h1->coded_picture_number; h->first_field = h1->first_field; h->picture_structure = h1->picture_structure; h->mb_aff_frame = h1->mb_aff_frame; diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h index 447c2499d9..fc50df90f2 100644 --- a/libavcodec/h264dec.h +++ b/libavcodec/h264dec.h @@ -356,7 +356,6 @@ typedef struct H264Context { int chroma_x_shift, chroma_y_shift; int droppable; - int coded_picture_number; int context_initialized; int flags;