Re: [FFmpeg-devel] [PATCH] avcodec/h264dec: Remove unused coded_picture_number

2024-04-07 Thread Andreas Rheinhardt
Andreas Rheinhardt:
> 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 4b01c54147..f61af0d6d7 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;

Will apply this patch tomorrow unless there are objections.

- Andreas

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-devel] [PATCH] avcodec/h264dec: Remove unused coded_picture_number

2024-04-06 Thread Andreas Rheinhardt
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 4b01c54147..f61af0d6d7 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;
-- 
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-requ...@ffmpeg.org with subject "unsubscribe".