[vlc-commits] packetizer: hevc: fix max_num_reorder
Francois Cartegnie
git at videolan.org
Fri Dec 15 17:32:36 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec 15 17:31:44 2017 +0100| [fdd089dda6613c624bd86bdcf6ec92b6ddd8af2f] | committer: Francois Cartegnie
packetizer: hevc: fix max_num_reorder
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fdd089dda6613c624bd86bdcf6ec92b6ddd8af2f
---
modules/packetizer/hevc_nal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/packetizer/hevc_nal.c b/modules/packetizer/hevc_nal.c
index 40f94479fc..82468b4ac8 100644
--- a/modules/packetizer/hevc_nal.c
+++ b/modules/packetizer/hevc_nal.c
@@ -1059,7 +1059,7 @@ bool hevc_get_picture_size( const hevc_sequence_parameter_set_t *p_sps,
uint8_t hevc_get_max_num_reorder( const hevc_video_parameter_set_t *p_vps )
{
- return p_vps->vps_max[0/* base layer */].num_reorder_pics;
+ return p_vps->vps_max[p_vps->vps_max_sub_layers_minus1/* HighestTid */].num_reorder_pics;
}
static inline uint8_t vlc_ceil_log2( uint32_t val )
More information about the vlc-commits
mailing list