From 697382168dbb4ba80201352eaf239511cb82074f Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 6 Jun 2023 12:48:11 +0200 Subject: hevcdec: remove redundant bits_used_for_short_term_rps field It was introduced for Vulkan, but it is equivalent to short_term_ref_pic_set_size when !short_term_ref_pic_set_sps_flag, and when !!short_term_ref_pic_set_sps_flag, Vulkan hardcodes a zero anyway. --- libavcodec/hevcdec.h | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/hevcdec.h') diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h index 04ec25d540..94609e4699 100644 --- a/libavcodec/hevcdec.h +++ b/libavcodec/hevcdec.h @@ -268,7 +268,6 @@ typedef struct SliceHeader { ///< RPS coded in the slice header itself is stored here int short_term_ref_pic_set_sps_flag; - int bits_used_for_short_term_rps; int short_term_ref_pic_set_size; ShortTermRPS slice_rps; const ShortTermRPS *short_term_rps; -- cgit v1.2.3