[FFmpeg-cvslog] avcodec/h264dec: Remove unused coded_picture_number

Andreas Rheinhardt git at videolan.org
Sun Apr 28 20:15:32 EEST 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Apr  6 14:15:53 2024 +0200| [651f3aa7f911d897270ee687128d464bddb7883a] | committer: Andreas Rheinhardt

avcodec/h264dec: Remove unused coded_picture_number

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=651f3aa7f911d897270ee687128d464bddb7883a
---

 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;



More information about the ffmpeg-cvslog mailing list