summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_ps.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-04-30 18:24:23 -0300
committerJames Almer <jamrial@gmail.com>2023-04-30 18:29:34 -0300
commit45fc89bb14989a585be024faf1349806a1acbb9a (patch)
tree19d28767b27ab72eb2b036c7e1570d4b502a3381 /libavcodec/hevc_ps.h
parent0275d994271ded88b3bf31b6d24686ecbc0e750d (diff)
downloadffmpeg-45fc89bb14989a585be024faf1349806a1acbb9a.tar.gz
avcodec/hevc_ps: use get_ue_golomb() for some SPS Screen Content Coding extension fields
Also remove the _minus1 part of the name to be in line with the rest of the decoder. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevc_ps.h')
-rw-r--r--libavcodec/hevc_ps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_ps.h b/libavcodec/hevc_ps.h
index 8cd99bb161..a0437815d6 100644
--- a/libavcodec/hevc_ps.h
+++ b/libavcodec/hevc_ps.h
@@ -219,7 +219,7 @@ typedef struct HEVCSPS {
int palette_max_size;
int delta_palette_max_predictor_size;
int sps_palette_predictor_initializers_present_flag;
- int sps_num_palette_predictor_initializers_minus1;
+ int sps_num_palette_predictor_initializers;
int sps_palette_predictor_initializer[3][HEVC_MAX_PALETTE_PREDICTOR_SIZE];
int motion_vector_resolution_control_idc;
int intra_boundary_filtering_disabled_flag;