[vlc-devel] [PATCH] packetizer: hevc: fix typo

Zhao Zhili quinkblack at foxmail.com
Fri Aug 10 11:24:53 CEST 2018


---
 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 b88c4ec..f154efd 100644
--- a/modules/packetizer/hevc_nal.c
+++ b/modules/packetizer/hevc_nal.c
@@ -1069,7 +1069,7 @@ bool hevc_get_picture_size( const hevc_sequence_parameter_set_t *p_sps,
     if( p_sps->conformance_window_flag )
     {
         *p_vh -= p_sps->conf_win.bottom_offset + p_sps->conf_win.top_offset;
-        *p_vh -= p_sps->conf_win.left_offset +  p_sps->conf_win.right_offset;
+        *p_vw -= p_sps->conf_win.left_offset +  p_sps->conf_win.right_offset;
     }
     return true;
 }
-- 
2.9.5



More information about the vlc-devel mailing list